I\'ve got a page in my AngularJS app in which I would like to include the same html partial, but with different variables. If I do this in my main html:
html
Just put each ng-include under its own as following: Each included HTML will then have its own var in its own scope. 0 讨论(0) 查看其它15个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
as following: Each included HTML will then have its own var in its own scope. 0 讨论(0) 查看其它15个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
Each included HTML will then have its own var in its own scope.
var