Swipe directive?


Is there a ng-swipe-left / ng-swipe-right attribute available in Ionic? If not, any pointers on how to go about custom-building such as a directive using $ionicGesture? My hunch is Ionic doesn’t have a swipe attribute, but supports adding such (via the above) - but looking at $ionicGesture, methinks I’m in over my head.


You can detect gestures like in this sample : http://codepen.io/calendee/pen/fbEsw?editors=101

here are the docs for it :