0a56826840e8f69ebc1c8edb23586f3e7979e825
[examples/angular-tour-of-heroes] / src / app / app.module.ts
1 import { BrowserModule } from '@angular/platform-browser';
2 import { NgModule } from '@angular/core';
3
4 import { AppComponent } from './app.component';
5 import { VorgangComponent } from './vorgang/vorgang.component';
6 import { StoreModule } from '@ngrx/store';
7 import { reducers, metaReducers } from './reducers';
8
9 @NgModule({
10   declarations: [
11     AppComponent,
12     VorgangComponent
13   ],
14   imports: [
15     BrowserModule,
16     StoreModule.forRoot(reducers, {
17       metaReducers
18     })
19   ],
20   providers: [],
21   bootstrap: [AppComponent]
22 })
23 export class AppModule { }