Hello,
I have a controller with an array ($ scope.fields) with several objects inside: each object is a different form input (eg input, select, checkboxes). I'm already using ng-repeat to iterate over them, however I need everyone to load a different templateUrl according to the object's own Type property.
What is the ideal method to do this using Angular? (v1.5.7)
Thank you in advance!