// vim: set tw=80 ts=2 sw=2 sts=2: import 'zone.js'; import 'reflect-metadata'; import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { RouterModule } from '@angular/router'; import { NgLoggerModule } from '@nsalaun/ng-logger'; import { ToastrModule } from 'ngx-toastr'; import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; import { MaterializeModule } from 'ng2-materialize' import { LoginModule } from './login/login.module'; import { AccountModule } from './accounts/account.module'; import { ScheduleModule } from './scheduler/schedule.module'; import { OperationModule } from './operations/operation.module'; import { AppComponent } from './app.component'; import { ApiBaseURL, LogLevel } from './app.config'; @NgModule({ imports: [ BrowserModule, BrowserAnimationsModule, RouterModule.forRoot([ { path: '', redirectTo: '/accounts', pathMatch: 'full' } ], { enableTracing: true, useHash: true }), LoginModule, NgLoggerModule.forRoot(LogLevel), ToastrModule.forRoot(), NgbModule.forRoot(), MaterializeModule.forRoot(), AccountModule, ScheduleModule, OperationModule, ], declarations: [ AppComponent ], bootstrap: [ AppComponent ] }) export class AppModule { constructor() {} }