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:
parent
eb65de1d8b
commit
3b679d4e80
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue