title: angularjs datepicker to set max date and min date dynamically
body: <p>I am using below date-picker plugin for angularjs which is made from pickadate.js
  <a href="https://github.com/alongubkin/angular-datepicker" rel="nofollow">https://github.com/alongubkin/angular-datepicker</a></p>
  
  <p>I am using this plugin twice on the page. Plugin have very good option max date and min date which will help us select between those date. </p>
  
  <p>Example options</p>
  
  <pre><code>$scope.depOptions = {
      format: 'dd/mm/yyyy',
      min: minDate,
      max: maxDate,
      onClose: function(){
        $scope.arrOptions.min = $scope.depDate;
      }
    }
  </code></pre>
  
  <p>Now I want to make min date starting from selected. I tried $watch and also tried to onClose method provided by plugin but I could not do it. Kindly somebody help me.</p>
  
  <p><a href="http://plnkr.co/edit/QBFwqyUIJxtw1dltMDky?p=preview" rel="nofollow">http://plnkr.co/edit/QBFwqyUIJxtw1dltMDky?p=preview</a></p>