2017-09-25 11:07:52 +00:00
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { HttpModule } from '@angular/http';
|
|
|
|
import { FormsModule } from '@angular/forms';
|
|
|
|
|
|
|
|
import { D3Service } from 'd3-ng2-service';
|
|
|
|
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
|
|
|
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
|
|
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
import { MapComponent } from './map/map.component';
|
|
|
|
import { ProjectMapComponent } from './project-map/project-map.component';
|
|
|
|
import { ServerCreateModalComponent, ServersComponent } from './servers/servers.component';
|
|
|
|
import { ProjectsComponent } from './projects/projects.component';
|
|
|
|
|
|
|
|
import { VersionService } from './services/version.service';
|
|
|
|
import { ProjectService } from './services/project.service';
|
|
|
|
import { SymbolService } from "./services/symbol.service";
|
|
|
|
import { ServerService } from "./services/server.service";
|
|
|
|
import { IndexedDbService } from "./services/indexed-db.service";
|
|
|
|
import { HttpServer } from "./services/http-server.service";
|
2017-10-27 11:55:40 +00:00
|
|
|
import { DefaultLayoutComponent } from './default-layout/default-layout.component';
|
2017-09-25 11:07:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
|
|
|
MapComponent,
|
|
|
|
ProjectMapComponent,
|
|
|
|
ServersComponent,
|
|
|
|
ServerCreateModalComponent,
|
|
|
|
ProjectsComponent,
|
2017-10-27 11:55:40 +00:00
|
|
|
DefaultLayoutComponent,
|
2017-09-25 11:07:52 +00:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
NgbModule.forRoot(),
|
|
|
|
BrowserModule,
|
|
|
|
HttpModule,
|
|
|
|
AppRoutingModule,
|
|
|
|
FormsModule
|
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
D3Service,
|
|
|
|
VersionService,
|
|
|
|
ProjectService,
|
|
|
|
SymbolService,
|
|
|
|
ServerService,
|
|
|
|
IndexedDbService,
|
|
|
|
HttpServer,
|
|
|
|
],
|
|
|
|
entryComponents: [
|
|
|
|
ServerCreateModalComponent,
|
|
|
|
],
|
|
|
|
bootstrap: [ AppComponent ]
|
|
|
|
})
|
|
|
|
export class AppModule { }
|