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.
2 parents 8307f93 + 311ac1c commit 7a53452Copy full SHA for 7a53452
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