xref: /openbmc/phosphor-webui/app/common/directives/loader.js (revision d27bb135f1561b87a174d1b9890dde2f3cf01c80)
1window.angular && (function(angular) {
2  'use strict';
3
4  angular.module('app.common.directives').directive('loader', function() {
5    return {
6      'restrict': 'E',
7      'template': require('./loader.html'),
8      scope: {loading: '='}
9    };
10  });
11
12})(window.angular);
13