summaryrefslogtreecommitdiffstats
path: root/app/common/directives/loader.js
blob: 887cc40f4992721327b6ab70b5cfb0eaf235e808 (plain)
1
2
3
4
5
6
7
8
9
10
11
window.angular && (function(angular) {
  'use strict';

  angular.module('app.common.directives').directive('loader', function() {
    return {
      'restrict': 'E',
      'template': require('./loader.html'),
      scope: {loading: '='}
    };
  });
})(window.angular);
OpenPOWER on IntegriCloud