From 4bb5f638bcce3ec1a5a0f594a050daf421030101 Mon Sep 17 00:00:00 2001 From: Ashinze Ekene Date: Wed, 12 Dec 2018 04:58:59 +0100 Subject: [PATCH] docs: fix typo in dependency injection guide (#27616) ~~`HeroService` must provided in some parent injector~~ *`HeroService` must be provided in some parent injector* PR Close #27616 --- aio/content/guide/dependency-injection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/dependency-injection.md b/aio/content/guide/dependency-injection.md index d768f46d22..f55bcae6e2 100644 --- a/aio/content/guide/dependency-injection.md +++ b/aio/content/guide/dependency-injection.md @@ -162,7 +162,7 @@ Here's the revised component, making use of the injected service, side-by-side w -`HeroService` must provided in some parent injector. The code in `HeroListComponent` doesn't depend on where `HeroService` comes from. +`HeroService` must be provided in some parent injector. The code in `HeroListComponent` doesn't depend on where `HeroService` comes from. If you decided to provide `HeroService` in `AppModule`, `HeroListComponent` wouldn't change. {@a singleton-services}