title: Angular using ng-model in input field get null
body: <p>I know how to pass a  value from a view to a controller using <code>ng-model</code>. In the controller it just gets the value from the view using this code <code>$scope.name = this.ngmodelnameinview</code>. </p>
  
  <p>Is it compulsory to use <code>ng-model</code> in field view?</p>
  
  <p>but my problem now is, I have <code>+</code> button, which when I click the button it will automatically put the value inside input text field.</p>
  
  <pre><code>&lt;button data-ng-click="adultCount = adultCount+1"&gt; + &lt;/button&gt;
  &lt;input type="text" name="totTicket" value="{{adultCount}}"&gt;
  </code></pre>
  
  <p>see picture below:<a href="https://i.stack.imgur.com/4a7ux.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4a7ux.png" alt="enter image description here"></a></p>
  
  <p>but when I add <code>ng-model</code> inside input field, it returns <code>null</code></p>
  
  <pre><code>&lt;input type="text" name="totTicket" value="{{adultCount}}" ng-model="adultcount"&gt;
  </code></pre>
  
  <p>How to fix this? Thanks!</p>