2017-05-10 11:04:06 +02:00
|
|
|
import {NgModule} from '@angular/core';
|
2017-09-02 23:27:15 +02:00
|
|
|
import {BrowserModule} from "@angular/platform-browser";
|
2017-05-10 11:04:06 +02:00
|
|
|
import {HttpModule} from '@angular/http';
|
|
|
|
import {AppComponent} from './app.component';
|
2017-10-22 18:06:37 +02:00
|
|
|
import {LoginService} from "./services/app-user-service/login-service";
|
2017-05-10 11:04:06 +02:00
|
|
|
import {appRouting, routingComponents, routingProviders} from './app.routing';
|
2017-10-22 18:06:37 +02:00
|
|
|
import {SquadService} from "./services/army-management/squad.service";
|
2017-05-10 11:04:06 +02:00
|
|
|
import {SquadStore} from "./services/stores/squad.store";
|
|
|
|
import {DecorationStore} from "./services/stores/decoration.store";
|
2017-10-22 18:06:37 +02:00
|
|
|
import {DecorationService} from "./services/army-management/decoration.service";
|
2017-05-10 11:04:06 +02:00
|
|
|
import {RankStore} from "./services/stores/rank.store";
|
2017-10-22 18:06:37 +02:00
|
|
|
import {RankService} from "./services/army-management/rank.service";
|
2017-05-10 11:04:06 +02:00
|
|
|
import {AppConfig} from "./app.config";
|
2017-06-08 16:58:28 +02:00
|
|
|
import {LoginGuardAdmin, LoginGuardHL, LoginGuardSQL} from "./login/login.guard";
|
2017-10-22 18:06:37 +02:00
|
|
|
import {AwardingService} from "./services/army-management/awarding.service";
|
2017-05-10 11:04:06 +02:00
|
|
|
import {HttpClient} from "./services/http-client";
|
2017-05-11 21:46:28 +02:00
|
|
|
import {ArmyService} from "./services/army-service/army.service";
|
2017-09-02 23:27:15 +02:00
|
|
|
import {ClipboardModule} from 'ngx-clipboard';
|
2017-10-22 18:06:37 +02:00
|
|
|
import {PromotionService} from "./services/army-management/promotion.service";
|
2017-09-02 22:59:13 +02:00
|
|
|
import {SharedModule} from "./shared.module";
|
2017-09-02 23:27:15 +02:00
|
|
|
import {BrowserAnimationsModule} from "@angular/platform-browser/animations";
|
2017-10-22 18:06:37 +02:00
|
|
|
import {UserService} from "./services/army-management/user.service";
|
2017-09-03 13:10:36 +02:00
|
|
|
import {UserStore} from "./services/stores/user.store";
|
2017-09-23 11:53:10 +02:00
|
|
|
import {CookieService} from "ngx-cookie-service";
|
2017-05-10 11:04:06 +02:00
|
|
|
|
|
|
|
@NgModule({
|
2017-09-02 23:27:15 +02:00
|
|
|
imports: [SharedModule, BrowserModule, BrowserAnimationsModule, appRouting, HttpModule, ClipboardModule],
|
2017-05-10 11:04:06 +02:00
|
|
|
providers: [
|
|
|
|
HttpClient,
|
|
|
|
LoginService,
|
2017-06-08 16:58:28 +02:00
|
|
|
LoginGuardSQL,
|
|
|
|
LoginGuardHL,
|
|
|
|
LoginGuardAdmin,
|
2017-09-03 13:10:36 +02:00
|
|
|
UserService,
|
|
|
|
UserStore,
|
2017-05-11 21:46:28 +02:00
|
|
|
ArmyService,
|
2017-05-10 11:04:06 +02:00
|
|
|
SquadService,
|
|
|
|
SquadStore,
|
|
|
|
DecorationService,
|
|
|
|
DecorationStore,
|
|
|
|
RankService,
|
|
|
|
RankStore,
|
|
|
|
AwardingService,
|
2017-06-10 13:16:15 +02:00
|
|
|
PromotionService,
|
2017-05-10 11:04:06 +02:00
|
|
|
AppConfig,
|
|
|
|
routingProviders,
|
2017-09-23 11:53:10 +02:00
|
|
|
CookieService
|
2017-05-10 11:04:06 +02:00
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
2017-09-03 12:49:59 +02:00
|
|
|
routingComponents],
|
2017-05-10 11:04:06 +02:00
|
|
|
bootstrap: [AppComponent]
|
|
|
|
})
|
|
|
|
export class AppModule {
|
|
|
|
}
|