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

63 lines
2.4 KiB
TypeScript
Raw Normal View History

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';
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';
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';
import {SpinnerService} from './services/user-interface/spinner/spinner.service';
import {MatSnackBarModule} from '@angular/material';
2017-05-10 11:04:06 +02:00
@NgModule({
imports: [SharedModule, BrowserModule, BrowserAnimationsModule, appRouting, HttpModule, HttpClientModule,
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,
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,
CookieService,
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 {
}