How to use ng-model as element rather than attribute?
<p>I want to use ng-model directive as element  rather than as attribute inside  tag,is there any way to do it?</p>

<p>well I've already designed my webpage in html and javascript and I want to include it in angularJS using "ng-include". So rather than adding attribute like,</p>

<pre><code>&lt;input type="checkbox" id="checkbox" name='rejectedPartsConfirmtodothis' ng-model="reject"&gt;
</code></pre>

<p>I want to put it in the format like, (as said in angulaJS documentation )</p>

<pre><code>&lt;ng-model&gt;
&lt;input ---&gt;
&lt;/ng-model&gt;
</code></pre>

<p>but this is not working, any idea how can I make it work?</p>