From c2e1b55f6cdb7135925a3f9ff601688c3ddb00df Mon Sep 17 00:00:00 2001 From: adamclerk Date: Sun, 20 Dec 2015 18:27:01 -0700 Subject: [PATCH] Fixing typo in pt4 of tutorial closes #596 I think the author intended to reference `providers` and not `directives`. He did indeed! --- public/docs/ts/latest/tutorial/toh-pt4.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/ts/latest/tutorial/toh-pt4.jade b/public/docs/ts/latest/tutorial/toh-pt4.jade index 84fe8ec638..86a03f1447 100644 --- a/public/docs/ts/latest/tutorial/toh-pt4.jade +++ b/public/docs/ts/latest/tutorial/toh-pt4.jade @@ -213,7 +213,7 @@ code-example(format="." language="html"). 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)') :marked - The `HeroDetailComponent` must *not* repeat it's parent's `directives` array! Guess [why](#shadow-provider). + The `HeroDetailComponent` must *not* repeat it's parent's `providers` array! Guess [why](#shadow-provider). The `AppComponent` is the top level component of our application. There should be only one instance of that component and only one instance of the `HeroService` in our entire app.