Add Restangular module and ScheduleRowComponent.

This commit is contained in:
Alexis Lahouze 2017-07-25 10:15:00 +02:00
parent 3c3741c33f
commit 434020f7ad

View File

@ -5,12 +5,14 @@ import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms'; import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http'; import { HttpModule } from '@angular/http';
import { RestangularModule } from 'ngx-restangular';
import { NgLoggerModule, Level } from '@nsalaun/ng-logger'; import { NgLoggerModule, Level } from '@nsalaun/ng-logger';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { ToastrModule } from 'ngx-toastr'; import { ToastrModule } from 'ngx-toastr';
import { ScheduleService } from './schedule.service'; import { ScheduleService } from './schedule.service';
import { ScheduleDeleteModalComponent } from './scheduleDeleteModal.component'; import { ScheduleDeleteModalComponent } from './scheduleDeleteModal.component';
import { ScheduleRowComponent } from './scheduleRow.component';
@NgModule({ @NgModule({
imports: [ imports: [
@ -18,6 +20,7 @@ import { ScheduleDeleteModalComponent } from './scheduleDeleteModal.component';
CommonModule, CommonModule,
FormsModule, FormsModule,
NgLoggerModule, NgLoggerModule,
RestangularModule,
ToastrModule, ToastrModule,
NgbModule NgbModule
], ],
@ -25,10 +28,12 @@ import { ScheduleDeleteModalComponent } from './scheduleDeleteModal.component';
ScheduleService ScheduleService
], ],
declarations: [ declarations: [
ScheduleDeleteModalComponent ScheduleDeleteModalComponent,
ScheduleRowComponent
], ],
entryComponents: [ entryComponents: [
ScheduleDeleteModalComponent ScheduleDeleteModalComponent,
ScheduleRowComponent
] ]
}) })
export class ScheduleModule {} export class ScheduleModule {}