docs(guide/hierarchical-injectors): fix typo

This commit is contained in:
Peter Bacon Darwin 2016-01-14 10:47:38 +00:00
parent ff5f21fc74
commit 615a8d4147
1 changed files with 13 additions and 13 deletions

View File

@ -136,7 +136,7 @@ figure.image-display
Our `HeroEditComponent` uses this services under the hood for its `hero` property. It intercepts the `get` and `set` method to delegate the actual work to our `RestoreService` which in turn makes sure that we wont work on the original item but on a copy instead. Our `HeroEditComponent` uses this services under the hood for its `hero` property. It intercepts the `get` and `set` method to delegate the actual work to our `RestoreService` which in turn makes sure that we wont 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