Created
June 13, 2017 20:44
-
-
Save peterbsmyth/f642fc12d4b4643bf8bf6c4ffea974aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
import { Http, Response } from '@angular/http'; | |
import { environment } from '../environments/environment'; | |
@Injectable() | |
export class SkillsService { | |
constructor(private http: Http) { } | |
getSkills() { | |
return this.http.get(`${environment.apiUrl}/skill/`); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment