阅读背景:

AngularJS $ rootScope。$ broadcast在app.run中不起作用

来源:互联网 

I have the following code under my AngularJS .run which works perfectly on my local development machine but won't work when uploaded to my client server...after few tests it is obvious that by the time the controller is loaded the event is not triggered yet so most of the functions in the controller depending on this event do not work. Can someone please tell me what I am doing wrong here and how to fix it? ThanksI have the following code under my AngularJS .r




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: