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

Class Ng2Module

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

NgModuleInterface · 0.90
getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…