MCPcopy Create free account
hub / github.com/angular/angular / AppModule

Class AppModule

packages/core/test/acceptance/bootstrap_spec.ts:632–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

630 }
631
632 @NgModule({
633 imports: [BrowserModule],
634 declarations: [App],
635 bootstrap: [App],
636 providers: [
637 provideAppInitializer(() => {
638 markInitStarted();
639 return new Promise<void>((_, reject) => {
640 rejectInit = reject;
641 });
642 }),
643 ],
644 })
645 class AppModule {}
646
647 const platformRef = platformBrowser();
648 const bootstrapPromise = platformRef.bootstrapModule(AppModule);

Callers

nothing calls this directly

Calls 2

NgModuleInterface · 0.90
provideAppInitializerFunction · 0.90

Tested by

no test coverage detected