blob: b37a898401b61e2e793d8db2b1747072005071ce [file] [log] [blame]
Michael Davis428375e2017-08-01 15:48:34 -05001window.angular && (function (angular) {
2 'use strict';
3
4 angular
5 .module('app.common.directives')
6 .directive('loader', function () {
7 return {
8 'restrict': 'E',
Ed Tanousbbcf6702017-10-06 13:53:06 -07009 'template': require('./loader.html'),
Michael Davis428375e2017-08-01 15:48:34 -050010 scope: {
11 loading: '='
12 }
13 };
14 });
15
Ed Tanousbbcf6702017-10-06 13:53:06 -070016})(window.angular);