When both, href and ng-click attributes are defined:
<a href="#" ng-click="logout()">Sign out</a>
the href
attribute takes precedence over ng-click.
I am looking for a way to raise priority of ng-click.
href
is required for Twitter Bootstrap, I can't remove it.
This example from the angular documentation site just does href
without even assigning it to an empty string:
[<a href ng-click="colors.splice($index, 1)">X</a>]