I want to disable ionic Slide box Swap. i check many solutions this is worked with error.
$scope.stop = function() {
$ionicSlideBoxDelegate.enableSlide(false);
return false;
};
added this thing to slide box
<ion-slide-box active-slide="stop()">
it is working fine but as i click to content of ion slide box it will show me this error
Error: [$compile:nonassign] Expression ‘slidestop()’ used with directive ‘ionSlideBox’ is non-assignable!
and how can i show specific slide on button click