2017-07-13 16:57:02 +02:00
|
|
|
// vim: set tw=80 ts=2 sw=2 sts=2 :
|
|
|
|
|
|
|
|
import { NgModule } from '@angular/core';
|
2017-07-20 10:32:05 +02:00
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
import { FormsModule } from '@angular/forms';
|
2017-07-13 16:57:02 +02:00
|
|
|
import { HttpModule } from '@angular/http';
|
|
|
|
|
|
|
|
import { NgLoggerModule, Level } from '@nsalaun/ng-logger';
|
2017-07-16 10:37:52 +02:00
|
|
|
import { RestangularModule } from 'ngx-restangular';
|
2017-07-20 10:32:05 +02:00
|
|
|
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
2017-07-13 16:57:02 +02:00
|
|
|
|
|
|
|
import { AccountService } from './account.service';
|
2017-07-16 17:03:37 +02:00
|
|
|
import { AccountBalancesService } from './accountBalances.service';
|
2017-07-20 10:32:05 +02:00
|
|
|
import { AccountDeleteModalComponent } from './accountDeleteModal.component';
|
|
|
|
import { AccountEditModalComponent } from './accountEditModal.component';
|
2017-07-20 22:52:33 +02:00
|
|
|
import { AccountFormComponent } from './accountForm.component';
|
2017-07-13 16:57:02 +02:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
HttpModule,
|
2017-07-20 10:32:05 +02:00
|
|
|
CommonModule,
|
|
|
|
FormsModule,
|
2017-07-16 10:49:02 +02:00
|
|
|
NgLoggerModule,
|
2017-07-20 10:32:05 +02:00
|
|
|
RestangularModule,
|
|
|
|
NgbModule
|
2017-07-13 16:57:02 +02:00
|
|
|
],
|
|
|
|
providers: [
|
2017-07-16 17:03:37 +02:00
|
|
|
AccountService,
|
|
|
|
AccountBalancesService,
|
|
|
|
],
|
2017-07-20 10:32:05 +02:00
|
|
|
declarations: [
|
|
|
|
AccountDeleteModalComponent,
|
2017-07-20 22:52:33 +02:00
|
|
|
AccountEditModalComponent,
|
|
|
|
AccountFormComponent
|
2017-07-20 10:32:05 +02:00
|
|
|
],
|
|
|
|
entryComponents: [
|
|
|
|
AccountDeleteModalComponent,
|
2017-07-20 22:52:33 +02:00
|
|
|
AccountEditModalComponent,
|
|
|
|
AccountFormComponent
|
2017-07-20 10:32:05 +02:00
|
|
|
]
|
2017-07-13 16:57:02 +02:00
|
|
|
})
|
|
|
|
export class AccountModule {}
|
|
|
|
|