Display the loading spinner gif for all angular ajax requests
Remove the ajax-loader.gif which appeared only in unused styles.
This commit is contained in:
parent
8a81d7b9eb
commit
96aa1be2cf
6 changed files with 78 additions and 60 deletions
10
app/common/loading-service.js
Normal file
10
app/common/loading-service.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
/**
|
||||
* jamstash.loading Module
|
||||
*
|
||||
* Keeps the loading state across the app in order to display the spinner gif
|
||||
*/
|
||||
angular.module('jamstash.loading', [])
|
||||
|
||||
.value('Loading', {
|
||||
isLoading: false
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue