21 lines
549 B
JavaScript
21 lines
549 B
JavaScript
"use strict";
|
|
(function () {
|
|
'use strict';
|
|
angular.module('myitsmApp')
|
|
.directive('loadingSpinner', function () {
|
|
return {
|
|
restrict: 'AE',
|
|
replace: true,
|
|
templateUrl: 'views/common/loading-spinner-directive.html',
|
|
scope: {
|
|
fixedFullScreen: '@',
|
|
centered: '@',
|
|
overlay: '@',
|
|
inline: '@',
|
|
if: '=',
|
|
opaque: '@' // either apply opaque or overlay
|
|
}
|
|
};
|
|
});
|
|
}());
|