Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit d152ea2

Browse files
apai4wardbell
authored andcommitted
docs(cb-dependency-injection): Fix typos
closes #1421
1 parent 91bb9d8 commit d152ea2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

public/docs/ts/latest/cookbook/dependency-injection.jade

+4-4
Original file line numberDiff line numberDiff line change
@@ -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:
281281
figure.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.
312312
figure.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

Comments
 (0)