Skip to content

januswel/throbberInterceptor.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

throbberInterceptor.js

Show throbber automatically with $http/$resource on AngularJS

$http.get('/path/to/awesome/api');

Demo

http://januswel.github.io/throbberInterceptor.js/demo/

$http configuration

You can specify "$throbber" object in the configuration object for $http.

$http.get('/path/to/awesome/api', {
    '$throbber': {
        parent: '#parent-element-to-show-throbber',
        throbber: '<img src="awesome-throbber.png">'
    }
});

About

Show throbber automatically with $http/$resource on AngularJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published