This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Closed
Description
Hi,
Overview of the issue:
Without jQuery, all click listeners got an empty event
object if the link is annotated with ng-click
.
<a data-ng-click="reportClick()" data-test-listen-to-click>Link with directive</a>
Leads to:
testListenToClick#onClick; event:
Object {preventDefault: function, stopPropagation: function}
Motivation for or Use Case
This for example breaks angular-ui-router: angular-ui/ui-router#827
Angular Version(s)
1.2.10
Browsers and Operating System
Chrome 32 with touch emulation, Chrome Mobile 32
Reproduce the error
http://jsfiddle.net/scheffield/55Skr/
Related issues
I might be wrong, but this issue looks like it has the same reason: #5307