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