Inject $modal from router.

This commit is contained in:
Alexis Lahouze
2017-07-23 07:58:41 +02:00
parent 4f090a22df
commit 7b7f72bf1e
3 changed files with 6 additions and 2 deletions

View File

@ -49,7 +49,8 @@ export default angular.module('accountant.scheduler', [
.component('scheduleComponent', {
bindings: {
accountId: '<'
accountId: '<',
$modal: '<'
},
templateUrl: schedulerTmpl,
controller: ScheduleComponent,