<div ng-if="$ctrl.isReady"> <div ng-transclude></div> <vn-pagination ng-if="$ctrl.model" model="$ctrl.model" class="vn-pt-md"> </vn-pagination> </div> <div class="empty-rows" ng-if="!$ctrl.isReady" ng-switch="$ctrl.status"> <vn-spinner ng-switch-when="loading" enable="::true"> </vn-spinner> <span ng-switch-when="clear" translate> Enter a new search </span> <span ng-switch-when="error" translate> Ups! It seems there was an error </span> <span ng-switch-when="empty" translate> No results </span> </div>