Very simple loading animation using AngularJS's $http interceptors.
Right now it simply sets $rootScope.loading = true
while a request is in progress and false
when not. Then you can show or hide an element based on this value:
<div class="loading-animation" ng-show="loading"></div>
Just run npm start
after cloning the repo. You will need Gulp and Bower. Gulp will create a web server at http://localhost:9000
.
CSS for the loading animation is from SpinKit.
Copyright (c) 2014 Austin Greco
Licensed under the MIT license