Mobile browsers/devices deal with events differently than desktop browsers. The AngularJS provide
ngTouch library (angular-touch.js) to detect mobile browsers/devices events.
For example, Mobile browsers detect a tap event and then wait for second event about 300 ms if any. So if we’re
double-tapping the device then after this delay the browser fires a click event.
In this way this delay can make our apps unresponsive. Hence, instead of dealing with the click event, we can
detect touch event using ngTouch library. It handles touch detection for us through the ng-click directive. Hence
it will take care of calling the correct click event for mobile.
<button ng-click="save()">Save</button>