You cannot disable the anchor tag. The attribute ng-disabledor disabledonly works with an element button/input. If you want to disable the anchor tag, then you must call the function ng-clickon it, and then either redirect it or do nothing on it.
Markup
<a href="" ng-click="redirect(isValid, url)"> Anchor Button </a>
the code
$scope.redirect = function(isValid, url){
if(isValid)
$window.open(url, "_blank")
}
source
share