Andrew Geissler | ba5e3f3 | 2018-05-24 10:58:00 -0700 | [diff] [blame] | 1 | window.angular && (function(angular) { |
2 | 'use strict'; | ||||
Michael Davis | 428375e | 2017-08-01 15:48:34 -0500 | [diff] [blame] | 3 | |
Andrew Geissler | d27bb13 | 2018-05-24 11:07:27 -0700 | [diff] [blame] | 4 | angular.module('app.common.directives').directive('loader', function() { |
5 | return { | ||||
6 | 'restrict': 'E', | ||||
7 | 'template': require('./loader.html'), | ||||
8 | scope: {loading: '='} | ||||
9 | }; | ||||
10 | }); | ||||
Ed Tanous | bbcf670 | 2017-10-06 13:53:06 -0700 | [diff] [blame] | 11 | })(window.angular); |