I do this with ng-show, for example:
<strong>{{username}}</strong> <span class="empty" ng-show="!username">N/A</span>
Of course, this adds to me a lot more elements that I could handle in different ways. I like it though, as itβs easy to clearly see where my values ββare placeholder / empty, and I can style them differently.
jszobody Mar 27 '13 at 13:24 2013-03-27 13:24
source share