Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 627a451

Browse files
committed
fix(timepicker): fix injection
1 parent bae7bc8 commit 627a451

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/timepicker/timepicker.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ angular.module('ui.bootstrap.timepicker', [])
520520
};
521521
}])
522522

523-
.directive('uibTimepicker', function(uibTimepickerConfig) {
523+
.directive('uibTimepicker', ['uibTimepickerConfig', function(uibTimepickerConfig) {
524524
return {
525525
require: ['uibTimepicker', '?^ngModel'],
526526
controller: 'UibTimepickerController',
@@ -538,4 +538,4 @@ angular.module('ui.bootstrap.timepicker', [])
538538
}
539539
}
540540
};
541-
});
541+
}]);

0 commit comments

Comments
 (0)