From 65de0d6d0e3c94801b8be0b6898acb619e119199 Mon Sep 17 00:00:00 2001 From: nchetankumar Date: Wed, 2 Jan 2019 11:48:33 +0530 Subject: [PATCH] docs: modify the descendant spelling and remove multiple times parent's word (#27886) PR Close #27886 --- aio/content/guide/dependency-injection.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aio/content/guide/dependency-injection.md b/aio/content/guide/dependency-injection.md index f55bcae6e2..1d6a62c1ed 100644 --- a/aio/content/guide/dependency-injection.md +++ b/aio/content/guide/dependency-injection.md @@ -182,8 +182,7 @@ Child modules and component injectors are independent of each other, and create Thanks to [injector inheritance](guide/hierarchical-dependency-injection), you can still inject application-wide services into these components. -A component's injector is a child of its parent component's injector, -and a descendent of its parent's parent's injector, and so on all the way back to the application's _root_ injector. Angular can inject a service provided by any injector in that lineage. +A component's injector is a child of its parent component's injector, and inherits from all ancestor injectors all the way back to the application's _root_ injector. Angular can inject a service provided by any injector in that lineage. For example, Angular can inject `HeroListComponent` with both the `HeroService` provided in `HeroComponent` and the `UserService` provided in `AppModule`.