modalLoading.js is a lightweight JavaScript that allows you to include any project loading screen modal.
http://fpmweb.github.io/modalLoading
To add a new Bower package to your project you use the install command. This should be passed the name of the package you wish to install.
bower install modalLoading
Installation is very simple. You only have to insert the JS library.
<script type="text/javascript"src="modalLoading.js"></script>
Only one call to the class with true / false parameter.
show modal
modalLoading.init(true);
hide modal
modalLoading.init(true);