Answer the question
In order to leave comments, you need to log in
How to disable link depending on value in angular?
There is a link
<a href="{{data}}"></a>
{{значение}}
Answer the question
In order to leave comments, you need to log in
1) if you are making a dynamic link, then it is better to use ng-href rather than href
2) it should definitely hide the link if it is in data 0
3) it is better to see the context, because there may be a problem with scopes
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question