I have an ng-click and ng-dblclick in the same span. Single clicks correctly call the ng-click function, but double clicks are calling both!
Is there a way around that?
I was thinking I could move both click handlers into a single function and delegate based on click count, but I don't see how to get the click count from the event.
Is there any way to get a double click and a single click to call different functions?
I see this was asked before on StackOverflow but the answers are hacky and old, wondering if there is anything built in to AngularJS 1 that lets you inspect the event object?