parent
2ea76cce31
commit
3db7112b89
|
@ -1,9 +1,9 @@
|
||||||
import {NgModule} from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import {ServerModule} from '@angular/platform-server';
|
import { ServerModule } from '@angular/platform-server';
|
||||||
import {ModuleMapLoaderModule} from '@nguniversal/module-map-ngfactory-loader';
|
import { ModuleMapLoaderModule } from '@nguniversal/module-map-ngfactory-loader';
|
||||||
|
|
||||||
import {AppModule} from './app.module';
|
import { AppModule } from './app.module';
|
||||||
import {AppComponent} from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
|
|
|
@ -119,7 +119,7 @@ export class HeroService {
|
||||||
|
|
||||||
// Let the app keep running by returning an empty result.
|
// Let the app keep running by returning an empty result.
|
||||||
return of(result as T);
|
return of(result as T);
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Log a HeroService message with the MessageService */
|
/** Log a HeroService message with the MessageService */
|
||||||
|
|
|
@ -22,4 +22,4 @@ describe('HeroesComponent', () => {
|
||||||
it('should be created', () => {
|
it('should be created', () => {
|
||||||
expect(component).toBeTruthy();
|
expect(component).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue