MCPcopy Index your code
hub / github.com/angular/components / bootstrap

Function bootstrap

src/dev-app/main.ts:48–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46document.head.appendChild(theme);
47
48function bootstrap(): void {
49 bootstrapApplication(DevApp, {
50 providers: [
51 provideRouter(DEV_APP_ROUTES),
52 provideNativeDateAdapter(),
53 {
54 provide: MATERIAL_ANIMATIONS,
55 useValue: {
56 animationsDisabled: !cachedAppState.animations,
57 } as AnimationsConfig,
58 },
59 {provide: OverlayContainer, useClass: FullscreenOverlayContainer},
60 {provide: MAT_RIPPLE_GLOBAL_OPTIONS, useExisting: DevAppRippleOptions},
61 {provide: Directionality, useClass: DevAppDirectionality},
62 cachedAppState.zoneless
63 ? provideZonelessChangeDetection()
64 : provideZoneChangeDetection({eventCoalescing: true, runCoalescing: true}),
65 ],
66 });
67}

Callers

nothing calls this directly

Calls 1

provideNativeDateAdapterFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…