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 { HomeComponent } from './pages/landing/home/home.component';
|
21
|
import { MatomoModule } from 'ngx-matomo';
|
22
|
import { DashboardService } from "./services/dashboard.service";
|
23
|
import { EmptyPageComponent } from "./pages/emptypage/empty-page.component";
|
24
|
import { SharedService } from "./services/shared.service";
|
25
|
import { JoinComponent } from "./pages/join/join.component";
|
26
|
import { AboutComponent } from "./pages/landing/about/about.component";
|
27
|
|
28
|
|
29
|
@NgModule({
|
30
|
declarations: [
|
31
|
AppComponent,
|
32
|
HomeComponent,
|
33
|
AboutComponent,
|
34
|
EmptyPageComponent,
|
35
|
JoinComponent
|
36
|
],
|
37
|
imports: [
|
38
|
BrowserModule,
|
39
|
NoopAnimationsModule,
|
40
|
FormsModule,
|
41
|
ReactiveFormsModule,
|
42
|
HttpClientModule,
|
43
|
ReusableComponentsModule,
|
44
|
CookieLawModule,
|
45
|
MatomoModule,
|
46
|
AppRoutingModule
|
47
|
],
|
48
|
providers: [
|
49
|
{
|
50
|
provide: HTTP_INTERCEPTORS,
|
51
|
useClass: AuthenticationInterceptor,
|
52
|
multi: true
|
53
|
},
|
54
|
BrokerService,
|
55
|
MonitorService,
|
56
|
PiwikService,
|
57
|
RepositoryService,
|
58
|
DashboardService,
|
59
|
ValidatorService,
|
60
|
UsagestatsService,
|
61
|
StatisticsService,
|
62
|
AuthGuardService,
|
63
|
AuthenticationService,
|
64
|
SharedService
|
65
|
],
|
66
|
bootstrap: [AppComponent]
|
67
|
})
|
68
|
export class AppModule { }
|