Hi Friend I want to use jquery ui datepicker plugin in my app I am using http://tamble.github.io/jquery-ui-daterangepicker/ this plugin and want same functionality without any change I have tried something like this code below
(function(){
angular.module('publisher-portal').directive('dateRangePicker', function () {
return {
restrict : 'A',
require: 'ngModel',
link : function (scope, element, attr, ngModel) {
element.daterangepicker();
}
};
});
})();
<input id="e2" type="text" ng-model="mydate" dateRangePicker/>
Please suggest me some solution
