1
|
import { AppComponent } from './app.component';
|
2
|
import { NgModule } from '@angular/core';
|
3
|
import { BrowserModule } from '@angular/platform-browser';
|
4
|
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
5
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
6
|
import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
|
7
|
import { ReusableComponentsModule } from './shared/reusablecomponents/reusable-components.module';
|
8
|
import { CookieLawModule } from './shared/reusablecomponents/cookie-law/cookie-law.module';
|
9
|
import { AppRoutingModule } from './app-routing.module';
|
10
|
import { AuthenticationInterceptor } from './services/authentication-interceptor';
|
11
|
import { BrokerService } from './services/broker.service';
|
12
|
import { MonitorService } from './services/monitor.service';
|
13
|
import { PiwikService } from './services/piwik.service';
|
14
|
import { RepositoryService } from './services/repository.service';
|
15
|
import { ValidatorService } from './services/validator.service';
|
16
|
import { UsagestatsService } from './services/usagestats.service';
|
17
|
import { StatisticsService } from './services/statistics.service';
|
18
|
import { AuthGuardService } from './services/auth-guard.service';
|
19
|
import { AuthenticationService } from './services/authentication.service';
|
20
|
import { LandingComponent } from './pages/landing/landing.component';
|
21
|
import { DashboardComponent } from './pages/dashboard/dashboard.component';
|
22
|
|
23
|
|
24
|
@NgModule({
|
25
|
declarations: [
|
26
|
AppComponent,
|
27
|
LandingComponent,
|
28
|
DashboardComponent
|
29
|
],
|
30
|
imports: [
|
31
|
BrowserModule,
|
32
|
NoopAnimationsModule,
|
33
|
FormsModule,
|
34
|
ReactiveFormsModule,
|
35
|
HttpClientModule,
|
36
|
ReusableComponentsModule,
|
37
|
CookieLawModule,
|
38
|
AppRoutingModule
|
39
|
],
|
40
|
providers: [
|
41
|
{
|
42
|
provide: HTTP_INTERCEPTORS,
|
43
|
useClass: AuthenticationInterceptor,
|
44
|
multi: true
|
45
|
},
|
46
|
BrokerService,
|
47
|
MonitorService,
|
48
|
PiwikService,
|
49
|
RepositoryService,
|
50
|
ValidatorService,
|
51
|
UsagestatsService,
|
52
|
StatisticsService,
|
53
|
AuthGuardService,
|
54
|
AuthenticationService
|
55
|
],
|
56
|
bootstrap: [AppComponent]
|
57
|
})
|
58
|
export class AppModule { }
|