From f4be101c08f2aeae02bb7fd0e54d4edc5901d40d Mon Sep 17 00:00:00 2001 From: Talha Azhar Date: Thu, 29 Apr 2021 12:27:27 -0400 Subject: [PATCH] docs: fix text jargon from DI notes (#41928) PR Close #41928 --- aio/content/guide/dependency-injection-providers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/dependency-injection-providers.md b/aio/content/guide/dependency-injection-providers.md index 3912b82f5c..cfd648d6a7 100644 --- a/aio/content/guide/dependency-injection-providers.md +++ b/aio/content/guide/dependency-injection-providers.md @@ -25,7 +25,7 @@ You can configure an injector with a service class, you can provide a substitute ## Dependency injection tokens When you configure an [injector](guide/glossary#injector) with a [provider](guide/glossary#provider), you are associating that provider with a [dependency injection token](guide/glossary#di-token), or DI token. -The injector allows Angular create a map of any internal dependencies. +The injector allows Angular to create a map of any internal dependencies. The DI token acts as a key to that map. The dependency value is an instance, and the class type serves as a lookup key. @@ -56,7 +56,7 @@ Angular expands the `providers` value into a full provider object as follows. -The expanded provider configuration is an object literal with two properties. +The expanded provider configuration is an object literal with two properties: * The `provide` property holds the [token](#token) that serves as the key for both locating a dependency value and configuring the injector.