I have implemented ng-show
to display an error message based on an array. The code I used is ng-show="!items.length"
. However, since the items are populated after a request, there is a flickering effect for a brief moment before the items are loaded. Is there a way to delay this loading process until the items are fully attached to the scope?
Thank you!