1 |
61424
|
stefania.m
|
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 |
|
|
import {environment} from '../environments/environment';
|
28 |
54479
|
myrto.kouk
|
|
29 |
|
|
|
30 |
|
|
@NgModule({
|
31 |
|
|
declarations: [
|
32 |
|
|
AppComponent,
|
33 |
58110
|
stefania.m
|
HomeComponent,
|
34 |
|
|
AboutComponent,
|
35 |
58098
|
stefania.m
|
EmptyPageComponent,
|
36 |
58109
|
stefania.m
|
JoinComponent
|
37 |
54479
|
myrto.kouk
|
],
|
38 |
|
|
imports: [
|
39 |
|
|
BrowserModule,
|
40 |
|
|
NoopAnimationsModule,
|
41 |
|
|
FormsModule,
|
42 |
|
|
ReactiveFormsModule,
|
43 |
|
|
HttpClientModule,
|
44 |
|
|
ReusableComponentsModule,
|
45 |
|
|
CookieLawModule,
|
46 |
61424
|
stefania.m
|
MatomoModule.forRoot({
|
47 |
|
|
scriptUrl: environment.MATOMO_URL + 'matomo.js',
|
48 |
|
|
trackers: [
|
49 |
|
|
{
|
50 |
|
|
trackerUrl: environment.MATOMO_URL + 'matomo.php',
|
51 |
|
|
siteId: environment.MATOMO_SITE
|
52 |
|
|
}
|
53 |
|
|
],
|
54 |
|
|
routeTracking: {
|
55 |
|
|
enable: true
|
56 |
|
|
}
|
57 |
|
|
}),
|
58 |
54479
|
myrto.kouk
|
AppRoutingModule
|
59 |
|
|
],
|
60 |
|
|
providers: [
|
61 |
|
|
{
|
62 |
|
|
provide: HTTP_INTERCEPTORS,
|
63 |
|
|
useClass: AuthenticationInterceptor,
|
64 |
|
|
multi: true
|
65 |
|
|
},
|
66 |
|
|
BrokerService,
|
67 |
|
|
MonitorService,
|
68 |
|
|
PiwikService,
|
69 |
|
|
RepositoryService,
|
70 |
57185
|
stefania.m
|
DashboardService,
|
71 |
54479
|
myrto.kouk
|
ValidatorService,
|
72 |
|
|
UsagestatsService,
|
73 |
|
|
StatisticsService,
|
74 |
|
|
AuthGuardService,
|
75 |
58098
|
stefania.m
|
AuthenticationService,
|
76 |
|
|
SharedService
|
77 |
54479
|
myrto.kouk
|
],
|
78 |
|
|
bootstrap: [AppComponent]
|
79 |
|
|
})
|
80 |
61424
|
stefania.m
|
export class AppModule {
|
81 |
|
|
}
|