1
|
/**
|
2
|
* Created by stefania on 10/3/16.
|
3
|
*/
|
4
|
import { NgModule } from '@angular/core';
|
5
|
import { BrowserModule } from '@angular/platform-browser';
|
6
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
7
|
import { HttpModule, JsonpModule } from '@angular/http';
|
8
|
|
9
|
import { TabsModule, ModalModule } from 'ngx-bootstrap';
|
10
|
|
11
|
import { AppRouting } from './app.routing';
|
12
|
import { AppComponent } from './app.component';
|
13
|
import { TopMenuComponent } from './shared/topmenu/topmenu.component';
|
14
|
import { FooterComponent } from './shared/footer/footer.component';
|
15
|
import { MetricsModule } from './pages/metrics/metrics.module';
|
16
|
import { SourcesModule } from './pages/sources/sources.module';
|
17
|
import { CompatibilityModule } from './pages/compatibility/compatibility.module';
|
18
|
import { ContentModule } from './pages/content/content.module';
|
19
|
import { AdminPgModule } from './pages/adminPg/adminPg.module';
|
20
|
import { RepositoryService } from "./services/repository.service";
|
21
|
import { AuthenticationService } from './services/authentication.service';
|
22
|
import { AuthGuardService } from './services/auth-guard.service';
|
23
|
import { ValidatorService } from './services/validator.service';
|
24
|
import { PiwikService } from './services/piwik.service';
|
25
|
import { BrokerService } from './services/broker.service';
|
26
|
import { MonitorService } from './services/monitor.service';
|
27
|
import {LandingComponent} from "./pages/landing/landing.component";
|
28
|
import {DashboardComponent} from "./pages/dashboard/dashboard.component";
|
29
|
|
30
|
|
31
|
@NgModule({
|
32
|
imports: [
|
33
|
BrowserModule,
|
34
|
FormsModule,
|
35
|
ReactiveFormsModule,
|
36
|
HttpModule,
|
37
|
JsonpModule,
|
38
|
ModalModule.forRoot(),
|
39
|
// routing,
|
40
|
AppRouting,
|
41
|
TabsModule,
|
42
|
MetricsModule,
|
43
|
SourcesModule,
|
44
|
CompatibilityModule,
|
45
|
ContentModule,
|
46
|
AdminPgModule
|
47
|
],
|
48
|
declarations: [
|
49
|
AppComponent,
|
50
|
TopMenuComponent,
|
51
|
FooterComponent,
|
52
|
LandingComponent,
|
53
|
DashboardComponent
|
54
|
],
|
55
|
providers: [
|
56
|
// appRoutingProviders
|
57
|
BrokerService,
|
58
|
MonitorService,
|
59
|
PiwikService,
|
60
|
RepositoryService,
|
61
|
ValidatorService,
|
62
|
AuthGuardService,
|
63
|
AuthenticationService
|
64
|
],
|
65
|
bootstrap: [AppComponent]
|
66
|
})
|
67
|
|
68
|
export class AppModule {}
|