This commit is contained in:
Alexis Lahouze 2017-07-20 22:54:57 +02:00
parent 5100d0fd0c
commit 4e9915aab0

View File

@ -6,11 +6,13 @@ import './app.ts';
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser'; import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { UpgradeModule } from '@angular/upgrade/static'; import { UpgradeModule } from '@angular/upgrade/static';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { NgLoggerModule } from '@nsalaun/ng-logger'; import { NgLoggerModule } from '@nsalaun/ng-logger';
import { RestangularModule } from 'ngx-restangular'; import { RestangularModule } from 'ngx-restangular';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { AccountModule } from './accounts/account.module'; import { AccountModule } from './accounts/account.module';
import { ApiBaseURL, LogLevel } from './app.config'; import { ApiBaseURL, LogLevel } from './app.config';
@ -18,6 +20,7 @@ import { ApiBaseURL, LogLevel } from './app.config';
@NgModule({ @NgModule({
imports: [ imports: [
BrowserModule, BrowserModule,
BrowserAnimationsModule,
UpgradeModule, UpgradeModule,
AccountModule, AccountModule,
NgLoggerModule.forRoot(LogLevel), NgLoggerModule.forRoot(LogLevel),
@ -32,7 +35,8 @@ import { ApiBaseURL, LogLevel } from './app.config';
return false; return false;
} }
); );
}) }),
NgbModule.forRoot()
] ]
}) })