docs(core): fix typo in Tour of Heroes App and Tutorial (#33931)

PR Close #33931
This commit is contained in:
Girma Nigusse
2019-11-20 07:12:56 -05:00
committed by Matias Niemelä
parent e456e5833a
commit a54096ab5b

View File

@ -373,7 +373,7 @@ Add the following imports:
Inject the `ActivatedRoute`, `HeroService`, and `Location` services Inject the `ActivatedRoute`, `HeroService`, and `Location` services
into the constructor, saving their values in private fields: into the constructor, saving their values in private fields:
<code-example path="toh-pt5/src/app/hero-detail/hero-detail.component.ts" header="toh-pt5/src/app/hero-detail/hero-detail.component.ts" region="ctor"> <code-example path="toh-pt5/src/app/hero-detail/hero-detail.component.ts" header="src/app/hero-detail/hero-detail.component.ts" region="ctor">
</code-example> </code-example>
The [`ActivatedRoute`](api/router/ActivatedRoute) holds information about the route to this instance of the `HeroDetailComponent`. The [`ActivatedRoute`](api/router/ActivatedRoute) holds information about the route to this instance of the `HeroDetailComponent`.