xref: /openbmc/phosphor-webui/app/common/directives/loader.js (revision 4ddda586452cb65560bba645ef30e92200633405)
1428375e8SMichael Daviswindow.angular && (function(angular) {
2428375e8SMichael Davis  'use strict';
3428375e8SMichael Davis
4*d27bb135SAndrew Geissler  angular.module('app.common.directives').directive('loader', function() {
5428375e8SMichael Davis    return {
6428375e8SMichael Davis      'restrict': 'E',
7bbcf670aSEd Tanous      'template': require('./loader.html'),
8*d27bb135SAndrew Geissler      scope: {loading: '='}
9428375e8SMichael Davis    };
10428375e8SMichael Davis  });
11428375e8SMichael Davis})(window.angular);
12