title: Angularjs min max date
body: <p>How to Set min-max of dates dynamically in angularjs. I mean if I set the min date in angularjs it should be binded automatically to frontend.
  
   
  this is what i wrote in my controller
  $scope.from1date='2016-12-31';
          $scope.to1date='2016-12-31';
  Whenver I change my min date in my controller it should be reflected in my frontendpage and how to do that...</p>