Project

General

Profile

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 {UserModule} from './user/user.module';
14
import {HomeComponent} from './pages/home/home.component';
15
import {TopMenuComponent} from './shared/topmenu/topmenu.component';
16
import {FooterComponent} from './shared/footer/footer.component';
17
import {MetricsModule} from './pages/metrics/metrics.module';
18
import {SourcesModule} from './pages/sources/sources.module';
19
import {CompatibilityModule} from './pages/compatibility/compatibility.module';
20
import {ContentModule} from './pages/content/content.module';
21
import {AdminPgModule} from './pages/adminPg/adminPg.module';
22
import {RepositoryService} from "./services/repository.service";
23
import {AuthenticationService} from './services/authentication.service';
24
import {AuthGuardService} from './services/auth-guard.service';
25
import { ValidatorService } from './services/validator.service';
26

    
27

    
28
@NgModule({
29
  imports: [
30
    BrowserModule,
31
    FormsModule,
32
    ReactiveFormsModule,
33
    HttpModule,
34
    JsonpModule,
35
    ModalModule.forRoot(),
36
//    routing,
37
    AppRouting,
38
    TabsModule,
39
    MetricsModule,
40
    SourcesModule,
41
    CompatibilityModule,
42
    ContentModule,
43
    AdminPgModule,
44
    UserModule
45
  ],
46
  declarations: [
47
    AppComponent,
48
    TopMenuComponent,
49
    FooterComponent,
50
    HomeComponent,
51
  ],
52
  providers: [
53
//    appRoutingProviders
54
    RepositoryService,
55
    ValidatorService,
56
    AuthGuardService,
57
    AuthenticationService
58
  ],
59
  bootstrap: [AppComponent]
60
})
61

    
62
export class AppModule {
63
}
(3-3/7)