docs(tutorial): toh-4 (Services) typo

closes #647
missing period in 'hero-detailcomponent.ts'
This commit is contained in:
Steven Lacks 2016-01-04 22:03:23 -05:00 committed by Ward Bell
parent 58ea050065
commit 14900ea97c
1 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ code-example(format="." language="html").
If the `HeroDetailComponent` needed its parent component's `HeroService`,
it would ask Angular to inject the service into its constructor which would look just like the one for `AppComponent`:
+makeExample('toh-4/ts/app/app.component.1.ts', 'ctor', 'hero-detailcomponent.ts (constructor)')
+makeExample('toh-4/ts/app/app.component.1.ts', 'ctor', 'hero-detail.component.ts (constructor)')
:marked
The `HeroDetailComponent` must *not* repeat it's parent's `providers` array! Guess [why](#shadow-provider).