AngularJS UI-Bootstrap Datepicker 在 ng-repeat 中不工作?

AngularJS UI-Bootstrap Datepicker is not working inside ng-repeat?

我一直在尝试在 ng-repeat 中使用日期选择器,但是日期选择器在 ng-repeat 中不起作用,谁能帮我解决这个问题。

这是我的代码,

 <div ng-repeat="dt in dates">
  <div class="col-md-6">
    <p class="input-group">
      <input type="text" class="form-control" uib-datepicker-popup="{{format}}" ng-model="dt" is-open="popup1.opened" datepicker-options="dateOptions" ng-required="true" close-text="Close" alt-input-formats="altInputFormats" />
      <span class="input-group-btn">
        <button type="button" class="btn btn-default" ng-click="open1()"><i class="glyphicon glyphicon-calendar"></i></button>
      </span>
    </p>
  </div>

检查这个DEMO

<h1>Datepicker inside repeater demo</h1>

<div class="container content-body">
<div class="row" ng-repeat="dt in dates">
    <div class="col-md-6">
        <p class="input-group">
          <input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="dt.date" is-open="dt.opened" datepicker-options="dateOptions" />
          <span class="input-group-btn">
            <button type="button" class="btn btn-default" ng-click="open($event,dt)"><i class="glyphicon glyphicon-calendar"></i></button>
          </span>
        </p>
    </div>
</div>