title: Difference between ng-model and data-ng-model
body: <p>I am new with the <strong>AngularJs</strong>. Can anyone say the difference between ng-model and data-ng-model?</p>
  
  <p><strong>With ng-model</strong></p>
  
  <pre><code>First Name  :  &lt;input type="text" ng-model="fname" id="fname"&gt;
  Second Name :  &lt;input type="text" ng-model="lname" id="lname"&gt;  
  </code></pre>
  
  <p><strong>With data-ng-model</strong></p>
  
  <pre><code>First Name  :  &lt;input type="text" data-ng-model="fname" id="fname"&gt;
  Second Name :  &lt;input type="text" data-ng-model="lname" id="lname"&gt;  
  </code></pre>