I am trying to dynamically load a template within an ng-repeat:
<ul>
    <li ng-repeat="prop in entity" >
        <div ng-include src="prop.template"></div>
    </li>
</ul>
prop.template equals the URL of the template, e.g. 'partials/form/text.html'. The above code produces the following error:
Error: 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: [["prop.template; newVal: \"partials/form/text.html\"; oldVal: undefined","prop.template; newVal: \"partials/form/text.html\"; oldVal: undefined" .... (and so on)
How do I get the URL of the template from prop.template and insert the HTML from that file into the DOM within ng-repeat?
 
     
     
     
    