Here I created some sample for date picker, which is working fine but I need to set min and max date dynamically.. so i am passing the start and end date from Html like this my-datepicker min="2013-07-23" max="2015-07-23" in directive scope i get the value and I need to set this value in controller $scope.datepickerOptions = { startDate :min, endDate:max} some thing like this..Here I created some sample for date picker, whi