From 627a451f53c464f79d3bea1ee5690aba8612e7cd Mon Sep 17 00:00:00 2001 From: Wesley Cho Date: Mon, 11 Jan 2016 19:26:52 -0800 Subject: [PATCH] fix(timepicker): fix injection --- src/timepicker/timepicker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/timepicker/timepicker.js b/src/timepicker/timepicker.js index fedb5c382b..c243e45bd3 100644 --- a/src/timepicker/timepicker.js +++ b/src/timepicker/timepicker.js @@ -520,7 +520,7 @@ angular.module('ui.bootstrap.timepicker', []) }; }]) -.directive('uibTimepicker', function(uibTimepickerConfig) { +.directive('uibTimepicker', ['uibTimepickerConfig', function(uibTimepickerConfig) { return { require: ['uibTimepicker', '?^ngModel'], controller: 'UibTimepickerController', @@ -538,4 +538,4 @@ angular.module('ui.bootstrap.timepicker', []) } } }; -}); +}]);