i have this demo: http://codepen.io/patrioticcow/pen/vOWZoJ?editors=101
towards the end there is this code
$scope.slideChanged = function(index) {
//$scope.data.slides.splice(index, 1);
};
as is, the slide works great. but if i uncomment the code, the slider breaks.
my goal is to remove the slide once is has been swiped away.
any ideas?