angular-ui/ui-router — pull request #966 by romario333 (2014-03-16 12:03:52+00:00)
Title: fix(uiSref): cancel transition if preventDefault() has been called

When using `ui-sref` directive, you can't cancel state transition by calling `preventDefault()` in a click handler.

Note that this solution does not solve the problem completely (`e.defaultPrevented` will be always true when transition is delayed).