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

Class Ng2Module

packages/upgrade/static/test/integration/downgrade_module_spec.ts:497–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

495 }
496
497 @NgModule({
498 declarations: [Ng2ComponentA, Ng2ComponentB],
499 imports: [BrowserModule],
500 providers: [
501 {provide: 'FOO', useValue: 'Mod-foo'},
502 {provide: 'BAR', useValue: 'Mod-bar'},
503 {provide: 'BAZ', useValue: 'Mod-baz'},
504 ],
505 })
506 class Ng2Module {
507 ngDoBootstrap() {}
508 }
509
510 const bootstrapFn = (extraProviders: StaticProvider[]) => {
511 const platformRef =

Callers

nothing calls this directly

Calls 2

NgModuleInterface · 0.90
getMethod · 0.65

Tested by

no test coverage detected