tl;dr: How can I force angular to only execute the ngclick directive in an <a> element without emptying/removing the href?
My site has some custom behavior on some elements (modal opens, location bar updates, etc.) but for SEO indexing I also need it to be an <a> element with an href attribute containing a valid link.
Such as:
<a href="/{{item.url}}" ng-click="doCustomStuff(item)">some link</a>
However, angular also executes the href and the routing makes my custom ng-click logic useless.
Is there a way to invert this behavior?