阅读背景:

如何从指令templateUrl访问$ rootScope变量

来源:互联网 

I've managed to get cross-domain HTML templates working by applying a url to the rootScope which I can access from controllers and other HTML files, but the problem arises when it comes to accessing the template from a directive. Here's my directive code:I've managed to get cross-domain HTML templates




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

分享到: