Why not working as it should and angular framwork7?

Make a swipe when you delete records
plnkr.co/edit/WoUIe0?p=preview
there is a list at the bottom of the array.
duck here when you remove the first why it deleted the second one. and in the mountains remains
I think this school fw7 just can't understand pochemou and caccc to fix?
June 27th 19 at 15:30
1 answer
June 27th 19 at 15:32
the strange behavior. if you change 1 to 0 in $scope.histories.splice(i, 0); it starts to work as it should
works as it should) but the array does not change as you can see
I on the other service advised me to remove the trak by $index
like helped - osbaldo_Senger commented on June 27th 19 at 15:35

Find more questions by tags Angular