Suggest an editImprove this articleRefine the answer for “What is the module injector (module injector)?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**Module injector** is an injector created for a specific module and living below the root injector in the DI hierarchy. **Key point:** Services registered in a module injector are available only within that module, which isolates them from the rest of the application.Shown above the full answer for quick recall.Answer (EN)Image**Module injector** is an injector created **for a specific module or a section of the application**. It lives inside the application but **below the root injector** in the hierarchy. --- ### How it works: - if Angular does not find a dependency in the module injector, it goes up the chain, to the root injector; - if a dependency is registered only in the module, it is available **only within that module**. --- ### Example: ```ts @NgModule({ providers: [UserService] }) export class AdminModule {} ``` Here `UserService` is registered in the **injector** of `AdminModule`. It will only be available to the components, directives, and services of that module. --- ### Why it is needed: - to **isolate services** within a specific part of the application; - to **avoid conflicts** between identical dependencies in different modules; - to allow **separate instances of services** for each section. --- **Summary:** A module injector is a local dependency container that manages services only within its own module and interacts with the root injector through the hierarchy.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.