I want to show an animation (an arrow moving left or right depending on which direction the swipe is happening) when the user has started to swipe to either sides of the screen, that is the user has started the swipe but not yet completed the swipe. This animation will happen at the point when angular.js scripts has decided that the swipe is towards which direction (towards left or right).
Once the script analyses the swipe movement and understands the direction where the swipe is being taken to, then an animation should be played until the swipe is complete or when the user pulls his/her finger away from the screen.
When the swipe is complete the next screen should be shown to the user.
I know ng-swipe-left
and ng-swipe-right
but I dont know how to show an animation in between the swipe start and swipe complete.
How to do this?