title: How to Make Loop in Angular JS
body: <p>I am new to angular Js How can I loop same ng-model?</p>
  
  <p><strong>I get that example on w3schools</strong></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"&gt;&lt;/script&gt;
  &lt;body&gt;
  
  &lt;div data-ng-app="" data-ng-init="price=5"&gt;
  
  &lt;h2&gt;Cost Calculator&lt;/h2&gt;
  
  
  Price: &lt;input type="number" ng-model="price"&gt;
          &lt;input type="number" ng-model="price"&gt;
  
  &lt;p&gt;&lt;b&gt;Total in dollar:&lt;/b&gt; {{price+price}}&lt;/p&gt;
  
  &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>