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>;
      
      const ROUTER_INITIALIZER: InjectionToken<(compRef: ComponentRef<any>) => void>;