Created
June 13, 2017 20:42
-
-
Save peterbsmyth/ad191e8226471696889394ce22968f2e 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'; | |
@Injectable() | |
export class SkillsService { | |
constructor(private http: Http) { } | |
getSkills() { | |
return this.http.get('localhost:3000/skill/'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment