diff --git a/src/datepicker/datepicker.js b/src/datepicker/datepicker.js index 1ddb4158cd..3d06fda85e 100644 --- a/src/datepicker/datepicker.js +++ b/src/datepicker/datepicker.js @@ -28,8 +28,7 @@ angular.module('ui.bootstrap.datepicker', ['ui.bootstrap.dateparser', 'ui.bootst var self = this, ngModelCtrl = { $setViewValue: angular.noop }, // nullModelCtrl; ngModelOptions = {}, - watchListeners = [], - optionsUsed = !!$attrs.datepickerOptions; + watchListeners = []; $element.addClass('uib-datepicker'); $attrs.$set('role', 'application');