https://plnkr.co/edit/XLYLsuMd3I9ICuBgMeDH?p=preview
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
FormsModule,
HttpModule,
PlunkerMaterialModule,
MdNativeDateModule,
ReactiveFormsModule,
InMemoryWebApiModule.forRoot(InMemoryDataService),
],
declarations: [SelectFormExample],
bootstrap: [SelectFormExample],
providers: [AppState]
})
export class PlunkerAppModule {}
platformBrowserDynamic().bootstrapModule(PlunkerAppModule);
alert("I am here");
Specify a version for angular-in-memory-web-api
in systemjs.config.js
'angular-in-memory-web-api': 'https://unpkg.com/angular-in-memory-web-api@0.2.4/bundles/in-memory-web-api.umd.js'
Without a version it uses the latest. I would find a more up to date plunker because the plunker is defaulting to the latest angular (v5.1.3) and it designed for ^4.0.0