@angular/router

ROUTER_INITIALIZER

constant

A DI token for the router initializer that is called after the app is bootstrapped.

  
    const ROUTER_INITIALIZER: InjectionToken<(compRef: ComponentRef<any>) => void>;
  
  
Jump to details