In AngularSpa template, redefine app.module.shared as a real NgModule. Fixes #986.

This commit is contained in:
Steve Sanderson
2017-06-08 11:08:36 +01:00
parent 0dd24068ca
commit f3b7103c83
5 changed files with 33 additions and 30 deletions

View File

@@ -0,0 +1,17 @@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppModuleShared } from './app.module.shared';
import { AppComponent } from './components/app/app.component';
@NgModule({
bootstrap: [ AppComponent ],
imports: [
BrowserModule,
AppModuleShared
],
providers: [
{ provide: 'ORIGIN_URL', useValue: location.origin }
]
})
export class AppModule {
}