From fdc1b0490caf3a62bd19faf95d772d415c05608b Mon Sep 17 00:00:00 2001 From: Mark Pieszak Date: Tue, 18 Oct 2016 09:49:35 -0400 Subject: [PATCH] docs(server-communication): grammar fix (#2626) --- public/docs/ts/latest/guide/server-communication.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/ts/latest/guide/server-communication.jade b/public/docs/ts/latest/guide/server-communication.jade index 07d20c61bd..9e7240ee15 100644 --- a/public/docs/ts/latest/guide/server-communication.jade +++ b/public/docs/ts/latest/guide/server-communication.jade @@ -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')