title: How to implement Swipe Gesture in IonicFramework?
body: <p>I want to attach swipe left &amp; swipe right on an image using IonicFramework.
  From the documentation, I only got these, but no example yet: </p>
  
  <p><a href="http://ionicframework.com/docs/api/service/">http://ionicframework.com/docs/api/service/</a>$ionicGesture/
  <a href="http://ionicframework.com/docs/api/utility/ionic.EventController/#onGesture">http://ionicframework.com/docs/api/utility/ionic.EventController/#onGesture</a></p>
  
  <p>Can anyone help provide sample HTML &amp; JS to listen to gesture event?</p>
  
  <p>P.S.: Previously, I managed to implement it using angularjs SwipeLeft and SwipeRight directive: <a href="https://docs.angularjs.org/api/ngTouch/service/">https://docs.angularjs.org/api/ngTouch/service/</a>$swipe . But now I wish to use the functions provided by ionicframework.</p>