ng-repeat with ng-include not working
问题 I am trying to use an ng-repeat that includes an ng-include . The problem is that the first element in the ng-repeat is just the ng-include template with none of the data from the ng-repeat filled in. Is there a way I can somehow bind the template from the ng-include so it works on the first ng-repeat ? <div ng-repeat="item in items"> <div ng-include src="'views/template.html'"></div> </div> For example, if my ng-repeat contains 10 items, then the first item that is rendered will just be the