From aabf8be033c50041dfd37b51cf3dc5bfd985ae11 Mon Sep 17 00:00:00 2001 From: Bob Watson <104218420+bob-watson@users.noreply.github.com> Date: Tue, 13 Dec 2022 14:14:34 -0800 Subject: [PATCH] docs: edit suggestion to meet style guide (#47979) PR Close #47979 --- aio/content/guide/dependency-injection.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aio/content/guide/dependency-injection.md b/aio/content/guide/dependency-injection.md index 78d330d62dd..ec4d74e4b0f 100644 --- a/aio/content/guide/dependency-injection.md +++ b/aio/content/guide/dependency-injection.md @@ -44,7 +44,8 @@ When you register a provider at the component level, you get a new instance of t class HeroListModule {} -When you register a provider with a specific NgModule, the same instance of a service is available to all components in that NgModule (to understand all edge-cases, see [Hierarchical injectors](guide/hierarchical-dependency-injection)). +When you register a provider with a specific NgModule, the same instance of a service is available to all components in that NgModule. +To understand all edge-cases, see [Hierarchical injectors](guide/hierarchical-dependency-injection). * At the application root level, which allows injecting it into other classes in the application. This can be done by adding the `providedIn: 'root'` field to the `@Injectable` decorator: