@angular/core

Self

decorator

Parameter decorator to be used on constructor parameters, which tells the DI framework to start dependency resolution from the local injector.

  
    @Self ({})
  
  
Jump to details