I have a form template as shown below.
<form editable-form name="tableForm">
<table>
<tr style="font-weight: bold">
// Column names here....
</tr>
<tr ng-repeat="user in list1>
//Column values here ...
</tr>
</table>
</form>
I want to reuse this template for creating multiple table within same page/controller using different model e.g. list1, list2, list3 etc.
How can I pass the name of the form and model dynamically so that all these tables's operation works independently of each other and still I need not repeat same html with different form name and list model inside my view.html?
Thanks
directive.