title: How to allow only integer numbers in Angular?
body: <p>I have a number input in my HTML and I want it to be an integer, not a floating point number.</p>
  
  <p>So, if I have this:</p>
  
  <pre><code>&lt;input type="number" ng-model="person.age" /&gt;
  </code></pre>
  
  <p>Angular will consider a value of <strong>18.4</strong> to be valid. How can I fix this?</p>