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

Commit 3b679d4

Browse files
jsayolFoxandxss
authored andcommitted
docs(di): reference the correct component (#3260)
In the referenced section the Alex component is being injected into Cathy, not Carol.
1 parent eb65de1 commit 3b679d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ a(id='alex')
740740
The parent must cooperate by providing an *alias* to itself in the name of a *class-interface* token.
741741

742742
Recall that Angular always adds a component instance to its own injector;
743-
that's why we could inject *Alex* into *Carol* [earlier](#known-parent).
743+
that's why we could inject *Alex* into *Cathy* [earlier](#known-parent).
744744

745745
We write an [*alias provider*](#useexisting) — a `provide` object literal with a `useExisting` definition —
746746
that creates an *alternative* way to inject the same component instance

0 commit comments

Comments
 (0)