阅读背景:

在AngularJS服务中缓存一个promise对象

来源:互联网 

I want to implement a dynamic loading of a static resource in AngularJS using Promises. The problem: I have couple components on page which might (or not, depends which are displayed, thus dynamic) need to get a static resource from the server. Once loaded, it can be cached for the whole application life.I want to implement a dynamic loading of a stat




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

分享到: