AngularJS swipe directive.