ng-touchstart and ng-touchend in Angularjs
I have an element which fires functions on ng-mousedown and ng-mouseup . However, It doesn't work on touch screen, is there any directive like ng-touchstart and ng-touchend ? There is a module for this: https://docs.angularjs.org/api/ngTouch But you can write your own directives for events too: <!doctype html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js"></script> </head> <body ng-app="plunker"> <div ng-controller="MainCtrl"> <div my-touchstart="touchStart()" my-touchend="touchEnd()"> <span data-ng-hide="touched">Touch Me ;)</span> <span data-ng