diff --git a/aio/content/guide/hierarchical-dependency-injection.md b/aio/content/guide/hierarchical-dependency-injection.md index 57959de752..b30ca17ee7 100644 --- a/aio/content/guide/hierarchical-dependency-injection.md +++ b/aio/content/guide/hierarchical-dependency-injection.md @@ -25,7 +25,7 @@ in this hierarchy using an `@NgModule()` or `@Injectable()` annotation. `ModuleInjector` 层次结构 —— 使用 `@NgModule()` 或 `@Injectable()` 注解在此层次结构中配置 `ModuleInjector`。 -1. `ElementInjector` hierarchy—created implicitly at each +2. `ElementInjector` hierarchy—created implicitly at each DOM element. An `ElementInjector` is empty by default unless you configure it in the `providers` property on `@Directive()` or `@Component()`. @@ -309,7 +309,7 @@ resolves it in two phases: 针对 `ElementInjector` 层次结构(其父级) -1. Against the `ModuleInjector` hierarchy (its parents) +2. Against the `ModuleInjector` hierarchy (its parents) 针对 `ModuleInjector` 层次结构(其父级)