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

Class Ng2Module

packages/upgrade/static/test/integration/injection_spec.ts:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35 // Sample ng1 NgModule for tests
36 @NgModule({
37 imports: [BrowserModule, UpgradeModule],
38 providers: [{provide: Ng2Service, useValue: 'ng2 service value'}],
39 })
40 class Ng2Module {
41 ngDoBootstrap() {}
42 }
43
44 // create the ng1 module that will import an ng2 service
45 const ng1Module = angular

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…