<div class="resource-view-element">
  <div class="quay-spinner" ng-show="resource.loading"></div>
  <div class="resource-error" ng-show="!resource.loading && resource.hasError">
    {{ errorMessage }}
  </div>
  <div class="resource-content" ng-class="(!resource.loading && !resource.hasError) ? 'visible' : ''">
    <span ng-transclude></span>
  </div>
</div>
