From 977bf843a02d15ea4c8ae304af536432225df5d2 Mon Sep 17 00:00:00 2001 From: withOutUndo Date: Sat, 28 Mar 2020 16:48:27 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=8E=BB=E6=8E=89=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E6=96=87=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aio/content/guide/providers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/providers.md b/aio/content/guide/providers.md index 70ffc2bf51..6181a09dbe 100644 --- a/aio/content/guide/providers.md +++ b/aio/content/guide/providers.md @@ -59,7 +59,7 @@ You should always provide your service in the root injector unless there is a ca It's also possible to specify that a service should be provided in a particular `@NgModule`. For example, if you don't want `UserService` to be available to applications unless they import a `UserModule` you've created, you can specify that the service should be provided in the module: -也可以规定某个服务只有在特定的 `@NgModule` 中提供。比如,如果你你希望只有当消费方导入了你创建的 `UserModule` 时才让 `UserService` 在应用中生效,那就可以指定该服务要在该模块中提供: +也可以规定某个服务只有在特定的 `@NgModule` 中提供。比如,如果你希望只有当消费方导入了你创建的 `UserModule` 时才让 `UserService` 在应用中生效,那就可以指定该服务要在该模块中提供: