Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Typo - HttpClient Guide (json results section) #2619

Closed
MarkPieszak opened this issue Oct 17, 2016 · 1 comment
Closed

Typo - HttpClient Guide (json results section) #2619

MarkPieszak opened this issue Oct 17, 2016 · 1 comment

Comments

@MarkPieszak
Copy link
Contributor

https://angular.io/docs/ts/latest/guide/server-communication.html

Can put a PR in tomorrow just putting the issue out there.

JSON results
As with getHeroes(), we extract the data from the response using the extractData() helper.

Back in the HeroListComponent, we see that its addHero() method subscribes to the observable returned by the service's addHero() method. When the data, arrive it pushes the new hero object into its heroes array for presentation to the user. ^^^^^^^^^^^^^^^^^

@Foxandxss
Copy link
Member

Yes, sounds weird. Please open a PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants