title: ng-bs-daterangepicker default value
body: <p>Im using this date range picker: <a href="https://github.com/luisfarzati/ng-bs-daterangepicker" rel="nofollow">https://github.com/luisfarzati/ng-bs-daterangepicker</a></p>
  
  <p>and in my controller I have </p>
  
  <pre><code>$scope.myDateRange = {
      endDate: new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate()+1),
      startDate: new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate())
  };
  </code></pre>
  
  <p>in my view I have:</p>
  
  <pre><code>&lt;input type="daterange" format="MMM DD" separator="-" ng-model="myDateRange" id="daterange"&gt;
  </code></pre>
  
  <p>On initial page load my view has <code>[object Object]</code> in the input. My question is, how do I format <code>$scope.myDateRate</code> in my controller so that on initial page load i get the correct input rendered</p>
  
  <p>i.e.    <code>Dec 03-Dec 04</code></p>