ionic slider not working while dynamically updating ionic slider ion-slide-box using ng-repeat
<p>I an using ionic slider to display some data in slides for specific day now when date is updated by user slider needs to changed. But it's not working properly</p>

<p>Slider code:</p>

<pre><code>&lt;ion-slide-box on-slide-changed="slideHasChanged($index)" class="{{showList}}" does-continue="true" ng-if="todos.today.length"&gt;
&lt;ion-slide ng-repeat="todo in todos.today track by $index" &gt;
&lt;div class="list card" &gt;
&lt;ion-checkbox ng-model="todo.did"&gt;{{todo.name}}&lt;/ion-checkbox&gt;
&lt;label class="item item-input"&gt;
  &lt;input type="text" placeholder="Name" ng-model="todo.name"&gt;
&lt;/label&gt;
&lt;label class="item item-input"&gt;
&lt;input type="text" placeholder="Description" ng-model="todo.desc"&gt;
&lt;/label&gt;
&lt;label class="item item-input"&gt;
&lt;input type="number" placeholder="Amount" ng-model="todo.amount"&gt;
 &lt;/label&gt;
 &lt;br&gt;
&lt;button type="button" class="btn btn-primary btn-xs" ng-click="saveThis(todo)"&gt;save&lt;/button&gt;
&lt;/div&gt;
&lt;/ion-slide&gt;
&lt;/ion-slide-box&gt;
</code></pre>

<p>my Datepicker</p>

<pre><code>    &lt;ionic-datepicker date="currentDate" min="minDate" max="maxDate" callback="datePickerCallback"&gt;
  &lt;button class="button   button-block" style="font-size:26px; padding:10px;margin-top:0px; background-color:#009688;color:white"&gt; {{ currentDate.getDate()}} {{month}}&lt;/button&gt;
&lt;/ionic-datepicker&gt;
</code></pre>

<p>Controller :</p>

<pre><code>$scope.datePickerCallback = function (val) {
    if (!val) {
        console.log('Date not selected');
    } else {

        $scope.sliderChange();
        AppDate.dt=val;
        dao.date=val;
    var tmp={fr:1,did:true,name:'newItm',desc:'',amount:20,date:''};
        $scope.todos.today.push(tmp);
        $scope.month=month_name(dao.date.getMonth(),1);
        $ionicSlideBoxDelegate.update();
        console.log("Updated");
    }
}
</code></pre>

<p>Ionic slider
<a href="https://i.stack.imgur.com/8PpXq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8PpXq.png" alt="enter image description here"></a></p>

<p>after changing date
<a href="https://i.stack.imgur.com/RNjOC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RNjOC.png" alt="enter image description here"></a></p>