Replace $swipe with ionic gestures


#1

I’m using http://konsumer.github.io/angular-cardflow which works great except it depends on angular-touch which doesn’t play well with Ionic. I’m trying to replace $swipe with Ionic gestures.but I’m stuck. What I need is a start, end and move event for swipe. I was hoping this code would work but I only get the end event.

                    $ionicGesture.on('swipe', function(event){                          
                          switch (event.gesture.eventType) {
                            case ionic.Gestures.EVENT_START: 
                           ...
                           case ionic.Gestures.EVENT_END: 
                           ...
                           case ionic.Gestures.EVENT_MOVE: 
                           ...

Any suggestions on how I could mimic $swipe events?