Revision 61424
Added by Stefania Martziou almost 3 years ago
app.module.ts | ||
---|---|---|
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"; |
|
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 |
import {environment} from '../environments/environment'; |
|
27 | 28 |
|
28 | 29 |
|
29 | 30 |
@NgModule({ |
... | ... | |
42 | 43 |
HttpClientModule, |
43 | 44 |
ReusableComponentsModule, |
44 | 45 |
CookieLawModule, |
45 |
MatomoModule, |
|
46 |
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 |
}), |
|
46 | 58 |
AppRoutingModule |
47 | 59 |
], |
48 | 60 |
providers: [ |
... | ... | |
65 | 77 |
], |
66 | 78 |
bootstrap: [AppComponent] |
67 | 79 |
}) |
68 |
export class AppModule { } |
|
80 |
export class AppModule { |
|
81 |
} |
Also available in: Unified diff
Merging angular-upgrade branch