Cleanup schedule module.

This commit is contained in:
Alexis Lahouze 2017-07-30 16:49:55 +02:00
parent 19fdb785ba
commit 474b7de02d

View File

@ -18,26 +18,18 @@
/* jshint node: true */ /* jshint node: true */
'use strict'; 'use strict';
var angular = require('angular'); import * as angular from 'angular';
import { import {
downgradeInjectable, downgradeInjectable,
downgradeComponent downgradeComponent
} from '@angular/upgrade/static'; } from '@angular/upgrade/static';
import { Logger } from '@nsalaun/ng-logger';
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
import { ToastrService } from 'ngx-toastr';
var ngStrap = require('angular-strap');
import accountModule from '@accountant/accounts'; import accountModule from '@accountant/accounts';
import { ScheduleListComponent } from './scheduleList.component'; import { ScheduleListComponent } from './scheduleList.component';
import { ScheduleService } from './schedule.service';
export default angular.module('accountant.scheduler', [ export default angular.module('accountant.scheduler', [
ngStrap,
accountModule accountModule
]) ])
.directive('scheduleListComponent', downgradeComponent({ .directive('scheduleListComponent', downgradeComponent({