import {NgModule} from '@angular/core'; import {Title, BrowserModule} from "@angular/platform-browser"; import {FormsModule, ReactiveFormsModule} from '@angular/forms'; import {HttpModule} from '@angular/http'; import {AppComponent} from './app.component'; import {LoginService} from "./services/login-service/login-service"; import {UserStore} from "./services/stores/user.store"; import {ShowErrorComponent} from './common/show-error/show-error.component'; import {APPLICATION_VALIDATORS} from './models/app-validators'; import {appRouting, routingComponents, routingProviders} from './app.routing'; import {AUTH_ENABLED} from './app.tokens'; import {UserService} from "./services/user-service/user.service"; import {UserItemComponent} from "./users/user-list/user-item.component"; import {SquadService} from "./services/squad-service/squad.service"; import {SquadStore} from "./services/stores/squad.store"; import {DecorationStore} from "./services/stores/decoration.store"; import {DecorationService} from "./services/decoration-service/decoration.service"; import {SquadItemComponent} from "./squads/squad-list/squad-item.component"; import {DecorationComponent} from "./decorations/decoration.component"; import {RankItemComponent} from "./ranks/rank-list/rank-item.component"; import {RankStore} from "./services/stores/rank.store"; import {RankService} from "./services/rank-service/rank.service"; import {DecorationItemComponent} from "./decorations/decoration-list/decoration-item.component"; import {AppConfig} from "./app.config"; import {LoginGuardAdmin, LoginGuardHL, LoginGuardSQL} from "./login/login.guard"; import {AwardingService} from "./services/awarding-service/awarding.service"; import {HttpClient} from "./services/http-client"; import {ArmyService} from "./services/army-service/army.service"; import { ClipboardModule } from 'ngx-clipboard'; import {AppUserService} from "./services/app-user-service/app-user.service"; import {AppUserStore} from "./services/stores/app-user.store"; import {PromotionService} from "./services/promotion-service/promotion.service"; import {FilterRankPipe} from "./filter/filter.pipe"; import {WarService} from "./services/war-service/war.service"; import {DataTableModule} from "angular2-datatable"; import {NgxChartsModule} from "@swimlane/ngx-charts"; import {BrowserAnimationsModule} from "@angular/platform-browser/animations"; import {AccordionModule} from "ngx-bootstrap"; @NgModule({ imports: [BrowserModule, FormsModule, ReactiveFormsModule, appRouting, HttpModule, ClipboardModule, DataTableModule, BrowserAnimationsModule, NgxChartsModule, AccordionModule.forRoot()], providers: [ HttpClient, LoginService, LoginGuardSQL, LoginGuardHL, LoginGuardAdmin, ArmyService, AppUserService, AppUserStore, UserService, SquadService, SquadStore, DecorationService, DecorationStore, RankService, RankStore, AwardingService, PromotionService, WarService, AppConfig, Title, routingProviders, {provide: AUTH_ENABLED, useValue: true} ], declarations: [ AppComponent, routingComponents, DecorationComponent, DecorationItemComponent, RankItemComponent, FilterRankPipe, SquadItemComponent, ShowErrorComponent, APPLICATION_VALIDATORS], bootstrap: [AppComponent] }) export class AppModule { }