docs(server-communication): grammar fix (#2626)

This commit is contained in:
Mark Pieszak 2016-10-18 09:49:35 -04:00 committed by Jesús Rodríguez
parent 6ece848443
commit fdc1b0490c
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ code-example(format="." language="javascript").
block hero-list-comp-add-hero
:marked
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=".")
+ifDocsFor('ts')