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

Commit

Permalink
fix(timepicker): fix injection
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleycho committed Jan 12, 2016
1 parent bae7bc8 commit 627a451
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/timepicker/timepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ angular.module('ui.bootstrap.timepicker', [])
};
}])

.directive('uibTimepicker', function(uibTimepickerConfig) {
.directive('uibTimepicker', ['uibTimepickerConfig', function(uibTimepickerConfig) {
return {
require: ['uibTimepicker', '?^ngModel'],
controller: 'UibTimepickerController',
Expand All @@ -538,4 +538,4 @@ angular.module('ui.bootstrap.timepicker', [])
}
}
};
});
}]);

0 comments on commit 627a451

Please sign in to comment.