MCPcopy Index your code
hub / github.com/angular/angular / provideRouterInitializer

Function provideRouterInitializer

packages/router/src/router_module.ts:255–262  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253);
254
255function provideRouterInitializer(): Provider[] {
256 return [
257 // ROUTER_INITIALIZER token should be removed. It's public API but shouldn't be. We can just
258 // have `getBootstrapListener` directly attached to APP_BOOTSTRAP_LISTENER.
259 {provide: ROUTER_INITIALIZER, useFactory: getBootstrapListener},
260 {provide: APP_BOOTSTRAP_LISTENER, multi: true, useExisting: ROUTER_INITIALIZER},
261 ];
262}

Callers 1

forRootMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…