0

In my form there are many fields where the data is loaded from server, there are also a dependent data lists and while performs the data loading I want to freeze interface - for example, by showing the progress bar. A layer with a large z-index, which would be over all others and the progress-bar in the corner. For example..

I know how to do it by using GWT or Vaadin:

How to do it by using AngularJS? Basically, I know how to do it by using JavaScript.

The problem is quite common.. Maybe there are ready solutions?

2 Answers2

0

The easiest option to integrate into your solution is promise tracker

If you need to block out the screen while your application bootstraps ngCloak allows you to display a message while angular is initializing.

Mark Coleman
  • 40,542
  • 9
  • 81
  • 101
0

If you're using the angular $http to load your data you can easily use this directive to show a loading screen or progress bar:

https://github.com/cgross/angular-busy

iceburg
  • 1,768
  • 3
  • 17
  • 25