@@ -178,7 +178,7 @@ figure.image-display
178178
179179 Accordingly, dependencies provided in the root `AppComponent` can be injected into *any* component *anywhere* in the application.
180180
181- That isn't always desireable .
181+ That isn't always desirable .
182182 Sometimes we want to restrict service availability to a particular region of the application.
183183
184184 We can limit the scope of an injected service to a *branch* of the application hierarchy
@@ -277,7 +277,7 @@ a(id="qualify-dependency-lookup")
277277 placing it in the `<ng-content>` slot of the `HeroBioComponent` template:
278278+ makeExample('cb-dependency-injection/ts/app/hero-bio.component.ts' ,'template' ,'app/hero-bio.component.ts (template)' )( format ='.' )
279279:marked
280- It looks like this, with the heroe 's telephone number from `HeroContactComponent` projected above the hero description:
280+ It looks like this, with the hero 's telephone number from `HeroContactComponent` projected above the hero description:
281281figure.image-display
282282 img( src ="/resources/images/cookbooks/dependency-injection/hero-bio-and-content.png" alt ="bio and contact" )
283283:marked
@@ -308,7 +308,7 @@ figure.image-display
308308:marked
309309 If we comment out the `@Host()` decorator, Angular now walks up the injector ancestor tree
310310 until it finds the logger at the `AppComponent` level. The logger logic kicks in and the hero display updates
311- with the gratuituous "!!!", indicating that the logger was found.
311+ with the gratuitous "!!!", indicating that the logger was found.
312312figure.image-display
313313 img( src ="/resources/images/cookbooks/dependency-injection/hero-bio-contact-no-host.png" alt ="Without @Host" )
314314:marked
@@ -367,7 +367,7 @@ figure.image-display
367367
368368 Where did the injector get that value?
369369 It may already have that value in its internal container.
370- It it doesn't, it may be able to make one with the help of a ***provider***.
370+ If it doesn't, it may be able to make one with the help of a ***provider***.
371371 A *provider* is a recipe for delivering a service associated with a *token*.
372372.l-sub-section
373373 :marked
0 commit comments