From 44e47da4cf692c9c2c0859f476fbf76f49068e38 Mon Sep 17 00:00:00 2001 From: John Ralph Umandal Date: Tue, 28 Jan 2020 12:05:47 +0000 Subject: [PATCH] docs: reword explanation for using singleton services decorative to be more understandable (#35002) To understand the current sentence it requires to read it multiple times. This fix should help developers to understand the sentence in a quicker way. PR Close #35002 --- aio/content/guide/singleton-services.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/singleton-services.md b/aio/content/guide/singleton-services.md index c382a0fac9..a645308019 100644 --- a/aio/content/guide/singleton-services.md +++ b/aio/content/guide/singleton-services.md @@ -9,7 +9,7 @@ For a sample app using the app-wide singleton service that this page describes, There are two ways to make a service a singleton in Angular: -* Declare `root` for the value of the `@Injectable()` `providedIn` property +* Set the `providedIn` property of the `@Injectable()` to `"root"`. * Include the service in the `AppModule` or in a module that is only imported by the `AppModule`