Add schedule module.
This commit is contained in:
parent
c257069644
commit
42c0fe6c9b
@ -16,6 +16,7 @@ import { ToastrModule } from 'ngx-toastr';
|
||||
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
||||
|
||||
import { AccountModule } from './accounts/account.module';
|
||||
import { ScheduleModule } from './scheduler/schedule.module';
|
||||
import { ApiBaseURL, LogLevel } from './app.config';
|
||||
|
||||
@NgModule({
|
||||
@ -24,6 +25,7 @@ import { ApiBaseURL, LogLevel } from './app.config';
|
||||
BrowserAnimationsModule,
|
||||
UpgradeModule,
|
||||
AccountModule,
|
||||
ScheduleModule,
|
||||
NgLoggerModule.forRoot(LogLevel),
|
||||
RestangularModule.forRoot((RestangularProvider) => {
|
||||
RestangularProvider.setBaseUrl(ApiBaseURL);
|
||||
|
34
src/scheduler/schedule.module.ts
Normal file
34
src/scheduler/schedule.module.ts
Normal file
@ -0,0 +1,34 @@
|
||||
// vim: set tw=80 ts=2 sw=2 sts=2 :
|
||||
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { HttpModule } from '@angular/http';
|
||||
|
||||
import { NgLoggerModule, Level } from '@nsalaun/ng-logger';
|
||||
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { ToastrModule } from 'ngx-toastr';
|
||||
|
||||
import { ScheduleService } from './schedule.service';
|
||||
import { ScheduleDeleteModalComponent } from './scheduleDeleteModal.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
HttpModule,
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
NgLoggerModule,
|
||||
ToastrModule,
|
||||
NgbModule
|
||||
],
|
||||
providers: [
|
||||
ScheduleService
|
||||
],
|
||||
declarations: [
|
||||
ScheduleDeleteModalComponent
|
||||
],
|
||||
entryComponents: [
|
||||
ScheduleDeleteModalComponent
|
||||
]
|
||||
})
|
||||
export class ScheduleModule {}
|
Loading…
Reference in New Issue
Block a user