Worked perfectly. So simple haha. I was trying != null On Tuesday, August 21, 2012 5:10:40 PM UTC+2, Alex Figueiredo wrote: > > Try this http://jsfiddle.net/AlexFigueiredoo/yG6nY/1/ > > Em terça-feira, 21 de agosto de 2012 09h56min36s UTC-3, Heydon Pickering > escreveu: >> >> Just a quick one: >> >> How do I use ng-hide to hide an element if a value in my model is empty? >> I tried >> >> <a href="#" ng-hide="modelValue == ''">Hidden if empty</a> >> >> Sorry if this is a really simple one :-) >> >
-- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
