opt-cc/static/src/app/app.module.ts

56 lines
2.0 KiB
TypeScript
Raw Normal View History

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';
import {LoginService} from "./services/login-service/login-service";
import {appRouting, routingComponents, routingProviders} from './app.routing';
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 {RankStore} from "./services/stores/rank.store";
import {RankService} from "./services/rank-service/rank.service";
import {AppConfig} from "./app.config";
2017-06-08 16:58:28 +02:00
import {LoginGuardAdmin, LoginGuardHL, LoginGuardSQL} from "./login/login.guard";
2017-05-10 11:04:06 +02:00
import {AwardingService} from "./services/awarding-service/awarding.service";
import {HttpClient} from "./services/http-client";
import {ArmyService} from "./services/army-service/army.service";
2017-09-02 23:27:15 +02:00
import {ClipboardModule} from 'ngx-clipboard';
2017-06-10 13:16:15 +02:00
import {PromotionService} from "./services/promotion-service/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-09-03 13:10:36 +02:00
import {UserService} from "./services/user-service/user.service";
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,
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 {
}