Slim progress bars for Angular.js applications with ngprogress-lite.js
At first demo - I think most of us saw trickle loading bars on such popular services as Youtube or Medium, isn't it?
Nprogress.js is an original jQuery plugin that popularized such loading effect. Unfortunately I noticed that there were no similar stable modules for Angular.js applications.
I didn't want to add additional bytes of jQuery to my project just because of that reason and that's why I created a port of nprogress.js for Angular.js - ngprogress-lite.js.
To start using you just need to inject provider inside your angular module and start calling methods inside your controllers, services or directives:
var app = angular.module('example', ['ngProgressLite']); app.controller('MainCtrl', function (ngProgressLite) { ngProgressLite.start(); setTimeout(function () { ngProgressLite.done(); }, 1500); });
You can check the result once more here and read documentation inside github repository. Also I would like to add that it's highly customizable (including templating), as well as it has the same API as original jQuery dependent solution.