W3cubDocs

/Angular

ROUTER_INITIALIZER

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

API

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

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/router/ROUTER_INITIALIZER