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 in my answer, but I would like to know what other ways there are. Maybe, also for placeholder for promises.