<div class="resource-view-element">
  <div class="cor-loader" ng-show="getState(resources) == 'loading'"></div>
  <div class="co-alert co-alert-warning" ng-show="getState(resources) == 'error'">
    {{ errorMessage }}
  </div>
  <div class="resource-content" ng-class="getState(resources) == 'ready' ? 'visible' : 'hidden'">
    <span ng-transclude></span>
  </div>
</div>
