Ion-slide-box :delete one item from array ,ion-slide-box can't work


#1

Here’s my logic:

 <img class="full-image" src="img/defaultPic.jpg">

$scope.imgeOnHold=function(index){
//alert(“touch”);

$ionicPopup.show({
scope: $scope,
buttons: [
  { text: 'delete' },
  {
    text: '<b>delete</b>',
    type: 'button-balanced button-positive',
    onTap: function(e) {
    //delete imge 
    
    $scope.sendCard.images.splice(index,1);
    
        $ionicSlideBoxDelegate.update();
    }
  },
]

});

I try to use hold event to delete one image item from $scope.sendCard.images ,after this the ion-slide-box can’t work ,appear white box.I’m wondering if someone can help me .Thanks