New way to use the loading

require(['src/util/API'], function( API ) {

API.loading("Loading example");
setTimeout( API.stopLoading, 20000, "Loading example");

setTimeout( API.loading, 1000, "Crunching some data");
setTimeout( API.stopLoading, 6000, "Crunching some data");

setTimeout( API.loading, 5000, "Processing your data in some awesome
way");
setTimeout( API.stopLoading, 9000, "Processing your data in some
awesome way");

setTimeout( API.loading, 7000, "Magically displaying everything");
setTimeout( API.stopLoading, 17000, "Magically displaying everything");

})