We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 001dff3 commit 311ac1cCopy full SHA for 311ac1c
a2/README.md
@@ -311,6 +311,8 @@ Translations of this Angular 2 style guide are maintained by the community. Due
311
312
@Injectable()
313
export class HeroService {
314
+ constructor(private _http: Http) { }
315
+
316
getHeroes() {
317
return this._http.get('api/sessions')
318
.map((response: Response) => <Session[]>response.json().data)
0 commit comments