Hi, I'm trying to place multiple ajax loaders in a page, and I'm using $broadcast to achieve it.
the problem is that when loaders are placed in one view, all the loaders respond to the broadcast event, while I want just one loader to be active at a time. I think specifying argument is the key here. or is there some other way? Eventually, I'm going to fire broadcast in the $httpProvider.interceptors. I wrote an exmple code in the plunker. http://plnkr.co/edit/wjRvUFeqecLhBGM8tFTq?p=preview any feedbak will be greatly appreciated. Thank you in advance -- 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 http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
