(function() { "use strict"; angular.module('shared') .directive('jqdatepicker', function () { var controller = [function() { var ctrl = this; ctrl.$onDestroy = function () { $j('#ui-datepicker-div').off('mousedown', stopPropagation); } }]; return { restrict: 'A', inline: true, require: '?ngModel', scope: { mindate: '