From e1911f6990c0975737cda59840a306f3f0700d33 Mon Sep 17 00:00:00 2001 From: Timothy Curchod Date: Thu, 13 Oct 2016 13:27:17 +1100 Subject: [PATCH] docs(toh-pt6,guide): fix a grammatical error --- public/docs/ts/latest/guide/router.jade | 2 +- public/docs/ts/latest/tutorial/toh-pt6.jade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/docs/ts/latest/guide/router.jade b/public/docs/ts/latest/guide/router.jade index 2470f006d7..6d471b4702 100644 --- a/public/docs/ts/latest/guide/router.jade +++ b/public/docs/ts/latest/guide/router.jade @@ -1182,7 +1182,7 @@ h3#merge-hero-routes Import hero module into AppModule We imported the `HeroesModule` and added it to our `AppModule`'s `imports`. We removed the `HeroListComponent` from the `AppModule`'s `declarations` because its being provided by the `HeroesModule` - now. This is important because their can be only **one** owner for a declared component. In our case, the `Heroes` module is + now. This is important because there can be only **one** owner for a declared component. In our case, the `Heroes` module is the owner of the `Heroes` components and is making them available to the `AppModule`. .l-sub-section diff --git a/public/docs/ts/latest/tutorial/toh-pt6.jade b/public/docs/ts/latest/tutorial/toh-pt6.jade index fac7513ff5..bbe1b7e18e 100644 --- a/public/docs/ts/latest/tutorial/toh-pt6.jade +++ b/public/docs/ts/latest/tutorial/toh-pt6.jade @@ -155,7 +155,7 @@ block get-heroes-details *Observables* are a powerful way to manage asynchronous data flows. We'll learn about [Observables](#observables) later in this chapter. - For *now* we get back on familiar ground by immediately by + For *now* we get back on familiar ground by immediately converting that `Observable` to a `Promise` using the `toPromise` operator. +makeExcerpt('app/hero.service.ts', 'to-promise', '')