docs(di): reference the correct component (#3260)

In the referenced section the Alex component is being injected into Cathy, not Carol.
This commit is contained in:
Josep Sayol 2017-02-16 15:10:08 +01:00 committed by Jesús Rodríguez
parent eb65de1d8b
commit 3b679d4e80
1 changed files with 1 additions and 1 deletions

View File

@ -740,7 +740,7 @@ a(id='alex')
The parent must cooperate by providing an *alias* to itself in the name of a *class-interface* token.
Recall that Angular always adds a component instance to its own injector;
that's why we could inject *Alex* into *Carol* [earlier](#known-parent).
that's why we could inject *Alex* into *Cathy* [earlier](#known-parent).
We write an [*alias provider*](#useexisting) — a `provide` object literal with a `useExisting` definition —
that creates an *alternative* way to inject the same component instance