Imagine I have the following HTML:
<p id="message" ng-show="something"></p>
Now during the lifetime of the page #message can be filled up with some text message after an AJAX call.
I would like #messageto toggle itself visible/hidden based on if it contains something or not.
Something like:
<p id="message" ng-show="self.text != ''"></p> <!--Not working but you get the idea -->