Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
162
rated 0 times [  167] [ 5]  / answers: 1 / hits: 30422  / 10 Years ago, sat, april 26, 2014, 12:00:00

I have to load many files for my AngularJs single page application, like angular.js, jquery.js, bootstrap.js, bootstrap.css, some_plugins.js, my_main.js and others,



It take some time to load the entire app, so I want to show a loading indicator (a spinner for example) in a void page until all the js and css files load and then display the content.


More From » jquery

 Answers
62

For Angular Apps use Angular Loading Bar.
Looks like this.




  • Would apply to whenever an XHR request goes out in angular

  • Can specify which request to not display loading icon

  • Only displayed when the request causes user to wait

  • Can be styled to your liking

  • Injected into the services module and just works


[#71288] Thursday, April 24, 2014, 10 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jaliyahcynthiac

Total Points: 91
Total Questions: 94
Total Answers: 119

Location: Vanuatu
Member since Wed, Oct 14, 2020
4 Years ago
;