How to reuse html template within the same view and controller in AngularJS?
<p>I have a form template as shown below.</p>

<pre><code>&lt;form editable-form name="tableForm"&gt;
    &lt;table&gt;
       &lt;tr style="font-weight: bold"&gt;

           // Column names here....

       &lt;/tr&gt;
       &lt;tr ng-repeat="user in list1&gt;

          //Column values here ...

       &lt;/tr&gt;
    &lt;/table&gt;
&lt;/form&gt;
</code></pre>

<p>I want to reuse this template for creating multiple table within same page/controller using different model e.g. list1, list2, list3 etc.</p>

<p>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?</p>

<p>Thanks</p>