angular-http-request-loader
v1.0.3
Published
Loader on each http request in angular js
Downloads
2
Maintainers
Readme
Angular Http Request Loader
Loader on each http request in angularjs
DEMO
Getting started
Download it via github, npm or via bower:
npm install angular-http-request-loader
bower install --save angular-http-request-loader
Or use it directly from the GitHub CDN:
- Use this URL in production(html)
<link rel="stylesheet" href="https://cdn.rawgit.com/nikhilrane1992/angular-http-request-loader/00c488f1/dist/angular-http-request-loader.min.css">
<script type="text/javascript" src="https://cdn.rawgit.com/nikhilrane1992/angular-http-request-loader/00c488f1/dist/angular-http-request-loader.min.js"></script>
- Use this URL for development(html)
<link rel="stylesheet" href="https://rawgit.com/nikhilrane1992/angular-http-request-loader/master/dist/angular-http-request-loader.min.css">
<script type="text/javascript" src="https://rawgit.com/nikhilrane1992/angular-http-request-loader/master/dist/angular-http-request-loader.min.js"></script>
Add the module name to your application dependencies:
angular.module('app', ['angular-http.request.loader'])
Follow this example:
<link rel="stylesheet" href="dist/angular-http-request-loader.min.css" media="screen" charset="utf-8">
<script type="text/javascript" src="dist/angular-http-request-loader.min.js"></script>
<body>
<http-request-loader></http-request-loader>
</body>
And in your application:
angular.module('App', [
'angular-http.request.loader'
])
If you have some doubt check the example or the index page inside the repository.