Upgrade Schedule component to Angular4.
This commit is contained in:
@ -62,15 +62,9 @@ export default angular.module('accountant.scheduler', [
|
||||
|
||||
.factory('scheduleService', downgradeInjectable(ScheduleService))
|
||||
|
||||
.component('scheduleComponent', {
|
||||
bindings: {
|
||||
accountId: '<',
|
||||
$modal: '<'
|
||||
},
|
||||
templateUrl: schedulerTmpl,
|
||||
controller: ScheduleComponent,
|
||||
controllerAs: 'schedulerCtrl'
|
||||
})
|
||||
.directive('scheduleComponent', downgradeComponent({
|
||||
component: ScheduleComponent
|
||||
}))
|
||||
|
||||
.run(function($transitions, accountIdService) {
|
||||
$transitions.onSuccess({}, (transition) => {
|
||||
|
Reference in New Issue
Block a user