From 24f1d1696832708215e8b4890e4ae81d904d42cd Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Tue, 20 Oct 2015 00:46:01 +0100 Subject: [PATCH] docs(di): update docs about factory provider dependencies --- public/docs/ts/latest/guide/dependency-injection.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/docs/ts/latest/guide/dependency-injection.jade b/public/docs/ts/latest/guide/dependency-injection.jade index 5a99375960..c8fab3f81f 100644 --- a/public/docs/ts/latest/guide/dependency-injection.jade +++ b/public/docs/ts/latest/guide/dependency-injection.jade @@ -484,8 +484,8 @@ include ../../../../_includes/_util-fns :markdown The `useFactory` field tells Angular that the provider is a factory function and that its implementation is the `heroServiceFactory`. - The `deps` property is an array of provider mappings just like the argument to `bootstrap`. - The `Logger` and `UserService` classes serve as their own provider mappings. + The `deps` property is an array of provider mapping tokens. + The `Logger` and `UserService` classes serve as tokens for their own class provider mappings. :markdown Finally, we create the mapping and adjust the bootstrapping to include that mapping in its provider configuration. ```