Skip to content

Hierarchical injectors #46122

@psraj86

Description

@psraj86

Description

Module Injector

ModuleInjector is configured by the @NgModule.providers and NgModule.imports property.

What is the affected URL?

https://angular.io/guide/hierarchical-dependency-injection

Please provide the steps to reproduce the issue

Visit to the above url, check the module Injector.

Module Injector is configure by NgModule.providers array or @Injectable({provideIn:''}) property but in the above link mentioned NgModule.imports which should be updated.

Please provide the expected behavior vs the actual behavior you encountered

Module Injector is configure by NgModule.providers array or @Injectable({provideIn:''}) property but in the above link mentioned NgModule.imports which should be updated.

Please provide a screenshot if possible

image

Please provide the exception or error you saw

No response

Is this a browser-specific issue? If so, please specify the device, browser, and version.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions