If I have an expression {{ x }} and x is undefined or null, then how can I display a placeholder for it?
{{ x }}
undefined
null
I provided one solution
I do it with ng-show, like this:
{{username}} N/A
Sure, it adds a lot more elements to my view that I might be able to handle differently. I like though how easy it is to clearly see where my placeholder/empty values are, and I can style them differently as well.