How can I prevent ion-slides from changing slides? I’m rendering ion-slide-page in a ng-repeat and I have two custom buttons for next/prev. When I click next for example, I wanna do some stuff and post to server and if successful move to the next slide, otherwise prevent slide change and stay on current index.
I’ve googled around and tinkered with the API for hours but couldn’t find a solution. Thanks in advance.