阅读背景:

如何获取rootScope更改的通知?

来源:互联网 

I've got a global variable in my rootScope for AngularJS which has properties updated in other various places (outside of angular). For example, lets say the property 'name' is updated on it. It seems like it updates on the root scope fine and after doing an apply or firing a controller function on any child function the view eventually updates, but this is a problem.I've got a global variable in my rootScope for




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

分享到: