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

Class Ng2Module

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

NgModuleInterface · 0.90
getMethod · 0.65

Tested by

no test coverage detected