Reputation: 1790
In angularjs, when I use an a
tag, I am really using the a
directive which prevents the default behavior of reloading the page. However, in my case, I want the link to take me to my /api/logout path, which requires an actual GET request. In other words, I just want it to work like a normal anchor tag. How can I do this?
Upvotes: 0
Views: 152
Reputation: 20014
I think you may be referring to ng-non-bindable
. Angular will not compile (ignore) elements with this attribute.
Here is the angular documentation on this:
http://docs.angularjs.org/api/ng.directive:ngNonBindable
Upvotes: 1