阅读背景:

AngularJS:链接到使用ng-repeat的指令中的元素

来源:互联网 

I have a simple directive where the template uses ng-repeat inside it. I need to run some code to instantiate a jquery component against some of the elements created by the ng-repeat directive. The problem is that if I put this code in the link function. The ng-repeat hasn't built those elements yet so nothing is instantiated.I have a simple directive where the template us




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

分享到: