How to use Ionic slide box to change route and controller?

When I change slides in a slide, I would like the UI router to reflect those changes in routes so that I can load different controllers for each slide. This is currently not showing up when I scan the slider.

When I manually try to change the state using $ionicScrollDelegate

as a reference, I see myself constantly reloading the object slide-box

itself, causing some funky glitches and black transitions between each slide.

What is the best strategy for allowing the UI router to reflect changes in a slide?

+3


source to share





All Articles