McNull / angular-block-ui

AngularJS Block UI Module
MIT License
349 stars 108 forks source link

Smooth blocking ui experience #101

Open KhoaSydney opened 8 years ago

KhoaSydney commented 8 years ago

Hi @McNull ,

My application is a Single Page Application (SPA) in which data operations are mostly asynchronous in nature. The application fetch multiple data sets in parallel which causing blockui to display/hide overlay multiple times depends on each data operations. Is it possible to have the blockui to just have one block for the entire operation?

cheers, Khoa

bautistaaa commented 8 years ago

sounds like you want to use $q.all to wait for all your promises to resolve.