From 86cc002b7ec7944793bd10a3d55336435061d8ba Mon Sep 17 00:00:00 2001 From: ChristinaLy Date: Thu, 22 Mar 2018 16:53:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BF=BB=E8=AF=91=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit inject into any class that asks for it应该翻译为“把它注入到任何请求注入的类中” --- aio/content/tutorial/toh-pt4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/tutorial/toh-pt4.md b/aio/content/tutorial/toh-pt4.md index 4b6586682a..f612b29f3f 100644 --- a/aio/content/tutorial/toh-pt4.md +++ b/aio/content/tutorial/toh-pt4.md @@ -170,7 +170,7 @@ Open the `AppModule` class, import the `HeroService`, and add it to the `@NgModu The `providers` array tells Angular to create a single, shared instance of `HeroService` and inject into any class that asks for it. -`providers` 数组会告诉 Angular 创建 `HeroService` 的单一、共享的实例,并且把它注入到如何请求注入它的类中。 +`providers` 数组会告诉 Angular 创建 `HeroService` 的单一、共享的实例,并且把它注入到任何请求注入它的类中。 The `HeroService` is now ready to plug into the `HeroesComponent`.