2017-05-10 11:04:06 +02:00
|
|
|
import {NgModule} from '@angular/core';
|
2018-03-07 11:56:50 +01: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';
|
2018-03-07 11:56:50 +01: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';
|
2018-03-07 11:56:50 +01:00
|
|
|
import {SquadService} from './services/army-management/squad.service';
|
|
|
|
import {SquadStore} from './services/stores/squad.store';
|
|
|
|
import {DecorationStore} from './services/stores/decoration.store';
|
|
|
|
import {DecorationService} from './services/army-management/decoration.service';
|
|
|
|
import {RankStore} from './services/stores/rank.store';
|
|
|
|
import {RankService} from './services/army-management/rank.service';
|
|
|
|
import {AppConfig} from './app.config';
|
2018-06-29 22:20:30 +02:00
|
|
|
import {LoginGuardAdmin, LoginGuardHL, LoginGuardSQL} from './login';
|
2018-03-07 11:56:50 +01:00
|
|
|
import {AwardingService} from './services/army-management/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';
|
2018-03-07 11:56:50 +01:00
|
|
|
import {PromotionService} from './services/army-management/promotion.service';
|
|
|
|
import {SharedModule} from './shared.module';
|
|
|
|
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
|
|
|
|
import {UserService} from './services/army-management/user.service';
|
|
|
|
import {UserStore} from './services/stores/user.store';
|
|
|
|
import {CookieService} from 'ngx-cookie-service';
|
2018-06-30 10:29:22 +02:00
|
|
|
import {SnackBarService} from './services/user-interface/snack-bar/snack-bar.service';
|
2018-07-06 23:45:03 +02:00
|
|
|
import {HttpClientModule} from '@angular/common/http';
|
2018-07-17 10:07:12 +02:00
|
|
|
import {SpinnerService} from './services/user-interface/spinner/spinner.service';
|
2018-07-17 11:34:32 +02:00
|
|
|
import {MatSnackBarModule} from '@angular/material';
|
2017-05-10 11:04:06 +02:00
|
|
|
|
|
|
|
@NgModule({
|
2018-07-06 17:01:59 +02:00
|
|
|
imports: [SharedModule, BrowserModule, BrowserAnimationsModule, appRouting, HttpModule, HttpClientModule,
|
2018-07-17 11:34:32 +02:00
|
|
|
ClipboardModule, MatSnackBarModule],
|
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,
|
2018-06-30 10:29:22 +02:00
|
|
|
CookieService,
|
2018-07-17 10:07:12 +02:00
|
|
|
SnackBarService,
|
|
|
|
SpinnerService
|
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 {
|
|
|
|
}
|