Angular Loader, Blocker, Unblocker
bower install mk-blocker
- Angular JS
-
CSS
mk-blocker.css
(Uncompressed file)mk-blocker.min.css
(Compressed file)
-
JS
mk-blocker.css
(Uncompressed file)mk-blocker.min.css
(Compressed file)
Note: All files are avaible in ./src
folder.
angular.module('yourModule', ['mkBlock']);
angular.module('yourModule').controller('yourCtrl', ['mkBlocker', function(mkBlocker){
mkBlocker.blockUI(); // to block the UI
mkBlocker.unblockUI(); // to unblock the UI
mkBlocker.toggleUI(); // to toggle the UI blocking
}]);