title: How to validate dates in datepicker with xeditable+angularjs?
body: <p>I have two date start date and end date.once i select start date then end date should not be less then start date.means these date should be disabled to click which less then start date in end date datepicker.</p>
  
  <p><strong>Html</strong></p>
  
  <pre><code>&lt;div class="col-sm-8"&gt;
                        &lt;p class="form-control-static"&gt;
                          &lt;span editable-bsdate="data.season_start" e-ng-click="openPicker()"  e-is-open="picker.opened" e-datepicker-popup="dd-MMMM-yyyy"&gt;{{ (data.season_start | date:"dd/MM/yyyy") || 'empty' }}&lt;/span&gt;
                        &lt;/p&gt;
   &lt;/div&gt;
  
  &lt;div class="col-sm-8"&gt;
                        &lt;p class="form-control-static"&gt;
                          &lt;span editable-bsdate="data.season_end" e-ng-click="openPicker2()"  e-is-open="picker2.opened" e-datepicker-popup="dd-MMMM-yyyy"&gt;{{ (data.season_end | date:"dd/MM/yyyy") || 'empty' }}&lt;/span&gt;
                        &lt;/p&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p><strong>Angular :</strong></p>
  
  <pre><code> $scope.picker = {opened: false};
   $scope.openPicker = function (data) {
                      $scope.picker.opened = true;
               });
    };
      $scope.picker2 = {opened: false};
      $scope.openPicker2 = function (data) {
                      $scope.picker.opened = true;
                  });
          };
  </code></pre>
  
  <p>My date picker is working fine.but i want to validate in season_end datepicker as per season_start.thanks</p>