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