Project

General

Profile

« Previous | Next » 

Revision 50086

tried to pull repositories of user

View differences:

app.module.ts
1 1
/**
2 2
 * Created by stefania on 10/3/16.
3 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";
4
import {NgModule} from '@angular/core';
5
import {BrowserModule} from '@angular/platform-browser';
6
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
7
import {JsonpModule} from '@angular/http';
8 8

  
9
import {TabsModule, ModalModule} from "ngx-bootstrap";
9
import {TabsModule, ModalModule} from 'ngx-bootstrap';
10 10

  
11
import {AppRouting} from "./app.routing";
12
import {AppComponent} from "./app.component";
13
import {ConfirmationDialogComponent} from "./shared/confirmation-dialog.component";
14
import {UserModule} from "./user/user.module";
11
import {AppRouting} from './app.routing';
12
import {AppComponent} from './app.component';
13
import {UserModule} from './user/user.module';
15 14
import {HomeComponent} from './pages/home/home.component';
16 15
import {TopMenuComponent} from './shared/topmenu/topmenu.component';
17 16
import {FooterComponent} from './shared/footer/footer.component';
18 17
import {MetricsModule} from './pages/metrics/metrics.module';
19 18
import {SourcesModule} from './pages/sources/sources.module';
20
import {CompatibilityModule} from "./pages/compatibility/compatibility.module";
21
import {ContentModule} from "./pages/content/content.module";
22
import {AdminPgModule} from "./pages/adminPg/adminPg.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 {HttpClientModule} from '@angular/common/http';
23
import {RepositoryService} from "./services/repository.service";
23 24

  
24 25

  
25 26
@NgModule({
......
27 28
    BrowserModule,
28 29
    FormsModule,
29 30
    ReactiveFormsModule,
30
    HttpModule,
31
    HttpClientModule,
31 32
    JsonpModule,
32 33
    ModalModule.forRoot(),
33 34
//    routing,
......
48 49
  ],
49 50
  providers: [
50 51
//    appRoutingProviders
52
      RepositoryService
51 53
  ],
52 54
  bootstrap: [AppComponent]
53 55
})

Also available in: Unified diff