对于YouTube一样的进度条,您可以查看ngprogress。然后,例如,在配置好应用程序之后,您就可以拦截route的events。
并执行类似的操作:
app.run(function($rootScope, ngProgress) { $rootScope.$on('$routeChangeStart', function() { ngProgress.start(); }); $rootScope.$on('$routeChangeSuccess', function() { ngProgress.complete(); }); // Do the same with $routeChangeError});


