forked from jebaGem/AngularRedux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.module.ts
45 lines (41 loc) · 1.42 KB
/
app.module.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { CoreModule } from './core/core.module';
import { HttpClientModule, HttpClient } from '@angular/common/http';
import { registerLocaleData } from '@angular/common';
import localeNl from '@angular/common/locales/nl';
import localeSv from '@angular/common/locales/sv';
import { AppRoutingModule } from './shared/routes/routes.module';
import { NgReduxModule } from '@angular-redux/store';
import { StoreModule } from './store';
import { AppComponent } from './app.component';
import { SummaryBarModule } from './summary-bar/summary-bar.module';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { SharedModule } from './shared/shared.module';
import { OverviewModule } from './overview/overview.module';
import { MyDealsModule } from './my-deals/my-deals.module';
registerLocaleData(localeNl, 'nl');
registerLocaleData(localeSv, 'sv');
@NgModule({
bootstrap: [
AppComponent
],
declarations: [
AppComponent
],
imports: [
BrowserModule,
HttpClientModule,
NgReduxModule,
StoreModule,
MyDealsModule,
SharedModule, // TODO: Decouple the spinner component from the SharedModule
SummaryBarModule,
AppRoutingModule,
OverviewModule,
BrowserAnimationsModule,
CoreModule.forRoot()
]
})
export class AppModule {
}