rsanchez
2017-03-02 3a29297e886c8f4cc247e065df9a60d6177514a2
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
46
47
48
49
50
51
52
53
import { NgModule }      from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { CommonModule } from '@angular/common';
import { FormsModule }   from '@angular/forms';
import {MaterialModule} from '@angular/material';
import {CovalentCoreModule} from '@covalent/core';
import {CovalentHttpModule} from '@covalent/http';
import {CovalentDynamicFormsModule} from '@covalent/dynamic-forms'; 
import { LocalStorageModule } from 'angular-2-local-storage';
import { ToastModule } from 'ng2-toastr/ng2-toastr';
import { AppComponent }  from './app.component';
import { UserService }  from './user.service';
import { PackListComponent }  from './pack.list.component';
import { HeroDetailComponent } from './detail.component';
import { LoginFormComponent } from './login.form.component';
import { appRoutes, appRoutingProviders } from './app.routes';
import { requestOptionsProvider } from './common/default.requests.options';
import { LocaleServiceModule } from './common/i18n';
@NgModule({
  imports: [
    LocalStorageModule.withConfig({
            prefix: 'securis',
            storageType: 'localStorage'
        }),
    BrowserModule,
    FormsModule,
    MaterialModule,
    CovalentCoreModule.forRoot(),
    CovalentHttpModule.forRoot(),
    CovalentDynamicFormsModule.forRoot(),
    ToastModule.forRoot(),
    LocaleServiceModule,
    appRoutes,
  ],
  declarations: [
    HeroDetailComponent,
    PackListComponent,
    LoginFormComponent,
    AppComponent
  ],
  bootstrap: [ AppComponent ],
  providers: [
    UserService,
    appRoutingProviders,
    requestOptionsProvider,
  ]
})
export class AppModule { }