阅读背景:

AngularJS: How can I initialize controller embedded with ajax loaded template?

来源:互联网 

I am loading an angular 'template' using ajax. This template renders a bootstrap modal form when I call $compile ... this works, everything fine here. But what I need is support of embedding controllers within this lazy loaded 'template' (Preferably I want to handle this client side so on server side everything can just look normal).I am loading an angular 'template' using ajax.




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

分享到: