I'd like to reuse an express included template multiple times and selectively bind it to different properties of the scope as follows:
<div ng-show="isCoApplicant" bind-to="applicant in data.coApplicant">
<% include ../row-templates/applicant-row %>
</div>
Similar to the behavior of ng-repeat which creates a child scope for the row and sets a property on it according to the expression 'applicant in data.coApplicant', and the row inputs can be bound to 'applicant' via ng-model.
I've spent some time researching various angular directives including ng-controller, ng-include, ng-model, etc. and I can't seem to put it together.
Appreciate any help on figuring this binding out.