title: the numerical values given in data-ng-init
body: <pre><code>&lt;div data-ng-app="" data-ng-init="quantity=1;price=20"&gt;  
  &lt;h2&gt;Cost Calculator&lt;/h2&gt;  
  Quantity: &lt;input type="number" ng-model="quantity"&gt;  
  Price: &lt;input type="number" ng-model="price"&gt;  
  &lt;p&gt;&lt;b&gt;Total in rupees:&lt;/b&gt; {{quantity * price}}&lt;/p&gt;  
  &lt;/div&gt;  
  </code></pre>
  
  <p>Hi guys, i am currently studying AngularJs Data Binding, and i have a question about the code above. Can anyone explain what these two numerical values,'1' and '20', in data-ng-init stand for? Every time i click on the input for quantity and price, the numbers for both input increase and decrease by a value 1, instead of 1 and 20 respectively.
  Also, what is the difference between data-ng-app and data-ng-init?</p>