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