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

76 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 {DecorationService} from './services/army-management/decoration.service';
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 {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 {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 {SettingsService} from './services/settings.service';
import {HttpGateway} from './services/http-gateway';
import {MatListModule, MatMenuModule, MatSidenavModule, MatToolbarModule} from '@angular/material';
import {FlexLayoutModule} from '@angular/flex-layout';
2017-05-10 11:04:06 +02:00
@NgModule({
imports: [
SharedModule,
BrowserModule,
BrowserAnimationsModule,
appRouting,
HttpModule,
HttpClientModule,
ClipboardModule,
MatSidenavModule,
MatToolbarModule,
MatListModule,
MatMenuModule,
FlexLayoutModule,
],
2017-05-10 11:04:06 +02:00
providers: [
HttpGateway,
2017-05-10 11:04:06 +02:00
LoginService,
2017-06-08 16:58:28 +02:00
LoginGuardSQL,
LoginGuardHL,
LoginGuardAdmin,
2017-09-03 13:10:36 +02:00
UserService,
ArmyService,
2017-05-10 11:04:06 +02:00
SquadService,
DecorationService,
RankService,
AwardingService,
2017-06-10 13:16:15 +02:00
PromotionService,
2017-05-10 11:04:06 +02:00
AppConfig,
routingProviders,
CookieService,
SnackBarService,
SpinnerService,
SettingsService,
2017-05-10 11:04:06 +02:00
],
2017-05-10 11:04:06 +02:00
declarations: [
AppComponent,
routingComponents
],
bootstrap: [
AppComponent
]
2017-05-10 11:04:06 +02:00
})
export class AppModule {
}