docs(server-communication): grammar fix (#2626)
This commit is contained in:
parent
6ece848443
commit
fdc1b0490c
@ -403,7 +403,7 @@ code-example(format="." language="javascript").
|
|||||||
block hero-list-comp-add-hero
|
block hero-list-comp-add-hero
|
||||||
:marked
|
:marked
|
||||||
Back in the `HeroListComponent`, we see that *its* `addHero()` method subscribes to the observable returned by the *service's* `addHero()` method.
|
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.
|
When the data arrives, it pushes the new hero object into its `heroes` array for presentation to the user.
|
||||||
+makeExample('server-communication/ts/app/toh/hero-list.component.ts', 'addHero', 'app/toh/hero-list.component.ts (addHero)')(format=".")
|
+makeExample('server-communication/ts/app/toh/hero-list.component.ts', 'addHero', 'app/toh/hero-list.component.ts (addHero)')(format=".")
|
||||||
|
|
||||||
+ifDocsFor('ts')
|
+ifDocsFor('ts')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user