driftyco/ionic — pull request #2712 by sunshineo (2014-12-13 17:56:15+00:00)
Title: feat(slidebox): Add a callback for valid swipe that encountered resistance because reached the bound and not looping

This callback is particular useful to me. I use the slidebox for the tutorial of my app. Unlike the demo, my tutorial is full screen. I do not have place for a button saying "Start using my app". So when user swipe the last slide of the tutorial, they start to use the app. I have observed this behavior in many apps.
My previous pull request was not properly implemented https://github.com/driftyco/ionic/pull/2710 . I had to save the delta.x for before the resistance take effect and then decide if I should fire the callback when an invalid swipe was made.