blob: af3af4e8b6e8a4d294110fd78a659eb53e37b33b [file] [log] [blame]
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import {ConsoleLoggerService, Gui2FwLibModule, LogService} from 'gui2-fw-lib';
import {Gui2TopoLibModule} from 'gui2-topo-lib';
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {RouterModule, Routes} from '@angular/router';
import {HttpClientModule} from '@angular/common/http';
const appRoutes: Routes = [
{ path: '**', component: AppComponent }
];
@NgModule({
declarations: [
AppComponent
],
imports: [
RouterModule.forRoot(appRoutes),
BrowserModule,
BrowserAnimationsModule,
Gui2FwLibModule,
Gui2TopoLibModule,
HttpClientModule
],
providers: [
{ provide: LogService, useClass: ConsoleLoggerService },
{ provide: 'Window', useValue: window }
],
bootstrap: [AppComponent]
})
export class AppModule { }