From 3b679d4e80dc2512496a33fb359a4024f6633edb Mon Sep 17 00:00:00 2001 From: Josep Sayol Date: Thu, 16 Feb 2017 15:10:08 +0100 Subject: [PATCH] docs(di): reference the correct component (#3260) In the referenced section the Alex component is being injected into Cathy, not Carol. --- public/docs/ts/latest/cookbook/dependency-injection.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/ts/latest/cookbook/dependency-injection.jade b/public/docs/ts/latest/cookbook/dependency-injection.jade index fbbca40bd3..3f6e1ececd 100644 --- a/public/docs/ts/latest/cookbook/dependency-injection.jade +++ b/public/docs/ts/latest/cookbook/dependency-injection.jade @@ -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