docs(guide/hierarchical-injectors): fix typo
This commit is contained in:
parent
ff5f21fc74
commit
615a8d4147
|
@ -136,7 +136,7 @@ figure.image-display
|
||||||
Our `HeroEditComponent` uses this services under the hood for it’s `hero` property. It intercepts the `get` and `set` method to delegate the actual work to our `RestoreService` which in turn makes sure that we won’t work on the original item but on a copy instead.
|
Our `HeroEditComponent` uses this services under the hood for it’s `hero` property. It intercepts the `get` and `set` method to delegate the actual work to our `RestoreService` which in turn makes sure that we won’t work on the original item but on a copy instead.
|
||||||
|
|
||||||
At this point we may be scratching our heads asking what this has to do with component injectors?
|
At this point we may be scratching our heads asking what this has to do with component injectors?
|
||||||
If closely at the metadata for our `HeroEditComponent`. Notice the `providers` property.
|
Look closely at the metadata for our `HeroEditComponent`. Notice the `providers` property.
|
||||||
|
|
||||||
+makeExample('hierarchical-dependency-injection/ts/app/hero-editor.component.ts', 'providers')
|
+makeExample('hierarchical-dependency-injection/ts/app/hero-editor.component.ts', 'providers')
|
||||||
:marked
|
:marked
|
||||||
|
|
Loading…
Reference in New Issue