title: Angular-ui-bootstrap datepicker is setting default calendar date to December 31 1969 when using with ng-required
body: <p>I have a form where I have a conditionally required datepicker element. I can not initiate this element with any value as the user has to enter it. Datepicker format is dd/mm/yyyy. Issue is that it was working fine until I added <code>ng-required</code>. After <code>ng-required</code> condition added to the element, when user clicks on calendar, calendar default date is Dec 31 1969. It's very inconvenient to the user bringing that date to current date. I tried setting default date to today in datepicker options but no luck.</p>
  
  <pre><code>&lt;div class="form-group col-md-3 required" ng-show="decision==true"&gt;
    &lt;label class="control-label"&gt;Test Date&lt;/label&gt;
    &lt;div class="input-group"&gt;
      &lt;input name="testDate" type="text" class="form-control" datepicker-popup="dd/MM/yyyy" ng-model="testDate" is-open="dpOpened.testDateTo"
      close-text="Close" onfocus="this.blur();" datepicker-options="dateOptions" ng-required="decision==true" required/&gt;
      &lt;span class="input-group-btn"&gt;
      &lt;button type="button" class="btn btn-default" ng-click="datepickerPopup($event, 'testDateTo')"&gt;
        &lt;i class="glyphicon glyphicon-calendar"&gt;&lt;/i&gt;
      &lt;/button&gt;
      &lt;/span&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>--controller.js--</p>
  
  <pre><code>$scope.datepickerPopup = function($event, opened) {
    $event.preventDefault();
    $event.stopPropagation();
    $scope.dpOpened[opened] = true;
  }
  
  $scope.dateOptions = {
    showWeeks : false,
    defaultDate : new Date()
  };
  
  $scope.dpOpened = {
    testDateTo : false,
  };
  
  $scope.today = function() {
    return new Date();
  }
  </code></pre>