Tagged Questions
4
votes
2answers
4k views
AngularJS - how to override directive ngClick
I want to override directive ng-click: to some make some $rootscope changes before each execution of ng-click. How to do it?
9
votes
1answer
1k views
Decorating the ng-click directive in AngularJs
I've been looking into modifying the AngularJS ng-click directive to add some additional features. I have a few different ideas of what to use it for, but a simple one is to add Google Analytics ...
6
votes
2answers
4k views
Handling ng-click and ng-dblclick on the same element with AngularJS
I was looking for both single and double-click event handling with AngularJS, since AngularJS always fires only the ng-click event even if there is ng-dblclick directive set for our element.
Here is ...
1
vote
2answers
310 views
How to invoke ng-click from a directive partial?
I have a directive that has a local scope where a partial contains ng-click.
The Fiddle is there: http://jsfiddle.net/stephanedeluca/QRZFs/13/
Unfortunatelly, since I moved my code to the directive, ...