阅读背景:

Angular.js单元测试“inject()”在“运行”阶段块之前触发

来源:互联网 

I have a scenario where I am trying to load HTML5 Audio for mobile devices and this can only be achieved through user interaction (e.g. ontouchstart). I have implemented this logic in an Angular run phase as to ensure it is attached at the earliest opportunity. I cannot attach this in the config phase as it has dependencies on other Angular factories:I have a scenario where I am trying to load HTM




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

分享到: