| 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 |