angular/angular.js — pull request #6995 by jayvan (2014-04-04 19:03:56+00:00)
Title: fix(ngTouch): fix ghost click on small touch delta

ngClick was leaking ghost click events when the touch Startmoved a small
distance. This is because if there was a touchMove event between the
touchStart and touchEnd preventGhostClick would not be called. This also
caused the MOVE_TOLERANCE threshold to be ignored because any change in
position would stop preventGhostClick from being run.

Cancelling a tap is now correctly based on the MOVE_TOLERANCE, and ghost
clicks are not leaked.

Closes #6251