阅读背景:

加载AngularJS控制器时运行一次

来源:互联网 

I have some stuff that needs to be done only once when the controller is loaded. What's the best way to this? I've read some about the "run block" but I don't really understand how it works. I have some stuff that needs to be done only on




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

分享到: