ROUTER_INITIALIZER

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

一个代表路由器初始化器的令牌,应用引导完毕后就会调用它。

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