Angular version of inspired by jQuery NProgress