From 5f64e52ed43a300b0a1e7e09704a8f556a1271cd Mon Sep 17 00:00:00 2001 From: Sonu Kapoor Date: Tue, 31 Mar 2020 06:44:13 -0400 Subject: [PATCH] docs: clarifies the service limitation (#36349) Closes #36332 PR Close #36349 --- aio/content/guide/providers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/providers.md b/aio/content/guide/providers.md index 7dfb695e81..46087eedc9 100644 --- a/aio/content/guide/providers.md +++ b/aio/content/guide/providers.md @@ -58,8 +58,8 @@ Though you can provide services by lazy loading modules, not all services can be Another way to limit provider scope is by adding the service you want to limit to the component’s `providers` array. Component providers and NgModule providers are independent of each other. This method is helpful when you want to eagerly load a module that needs a service all to itself. -Providing a service in the component limits the service only to that component (other components in -the same module can’t access it). +Providing a service in the component limits the service only to that component and its descendants. +Other components in the same module can’t access it.