blob: af3af4e8b6e8a4d294110fd78a659eb53e37b33b [file] [log] [blame]
Sean Condonff85fbe2019-03-16 14:28:46 +00001import { BrowserModule } from '@angular/platform-browser';
2import { NgModule } from '@angular/core';
3
4import { AppComponent } from './app.component';
5import {ConsoleLoggerService, Gui2FwLibModule, LogService} from 'gui2-fw-lib';
6import {Gui2TopoLibModule} from 'gui2-topo-lib';
7import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
8import {RouterModule, Routes} from '@angular/router';
9import {HttpClientModule} from '@angular/common/http';
10
11const appRoutes: Routes = [
12 { path: '**', component: AppComponent }
Sean Condon9de21352019-04-06 19:22:27 +010013];
Sean Condonff85fbe2019-03-16 14:28:46 +000014
15@NgModule({
16 declarations: [
17 AppComponent
18 ],
19 imports: [
20 RouterModule.forRoot(appRoutes),
21 BrowserModule,
22 BrowserAnimationsModule,
23 Gui2FwLibModule,
24 Gui2TopoLibModule,
25 HttpClientModule
26 ],
27 providers: [
28 { provide: LogService, useClass: ConsoleLoggerService },
29 { provide: 'Window', useValue: window }
30 ],
31 bootstrap: [AppComponent]
32})
33export class AppModule { }