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

Class AppModuleTwo

packages/examples/core/ts/platform/platform.ts:64–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63@NgModule({imports: [BrowserModule], declarations: [ComponentThree]})
64export class AppModuleTwo implements DoBootstrap {
65 // #docregion cssSelector
66 ngDoBootstrap(appRef: ApplicationRef) {
67 appRef.bootstrap(ComponentThree, '#root-element');
68 }
69 // #enddocregion cssSelector
70}
71
72@NgModule({imports: [BrowserModule], declarations: [ComponentFour]})
73export class AppModuleThree implements DoBootstrap {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected