My own AngularJS directives for mobile user gesture