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
javascript angularjs ios ionic


source to share


No one has answered this question yet

Check out similar questions:

7428
How can I check if an element is hidden in jQuery?
2329
How do I detect a click outside of an element?
2284
How can I combine properties of two JavaScript objects dynamically?
2102
How do I get the current date in JavaScript?
1690
How does data binding work in AngularJS?
1142
How to change href for hyperlink using jQuery
958
How do I change the name of an iOS app?
957
How to change status bar text color in iOS
912
'this' vs $ scope in AngularJS controllers
579
How do I use a filter in my controller?



All Articles
Loading...
X
Show
Funny
Dev
Pics