I thought this would be a very common thing, but I couldn\'t find how to handle it in AngularJS. Let\'s say I have a list of events and want to output them with AngularJS, t
Here's a different approach using CSS instead of JavaScript/AngularJS.
CSS:
.emptymsg { display: list-item; } li + .emptymsg { display: none; }
Markup:
... No items found
If the list is empty,