title: How to set maximum length in input type=number?
body: <p>I have a text field.</p>
  
  <pre><code>&lt;input type="number" min="0" max="999"&gt;
  </code></pre>
  
  <p>But i am able to type as many numbers inside the text box. </p>
  
  <p>As I set max=999, I don't want that to happen.
  Anyone knows the solution for this?
  I have tried <code>ng-maxlength</code> and <code>maxlength</code> but doesn't work.</p>