Hi Ankush!

You can try to set a CSS class (use *ng-class*) that is only visible when 
something happens, for the redirect pages you can try to configure a 
listener for the *$stateRouteChangedEvent* (or something similar).

That class can be applied to any container element, e.g. body.
Set this styling:

.loading:before
{

   1. content: "";
   2.     position: absolute;
   3.     top: 0;
   4.     left: 0;
   5.     right: 0;
   6.     bottom: 0;
   7.     background-color: black;
   8.     z-index: 2;

}

I don't have sufficient time to provide you a more useful example but I 
hope that this helps you.

Regards,
*Luís Loureiro*

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to