Input type number is not working in firefox
<p>I have an issue.I have an input field which type is <code>number</code> but its taking any alphabet in mozila firefox browser.Its working great in chrome but not working in firefox.I need it should work as chrome and not take any alphabet.I am using Mozila firefox version 48.0.I am explaining my code below.</p>

<pre><code>&lt;input type="number"  class="form-control oditek-form"  ng-model="type" name="type" step="1" min="0" placeholder="Add Type"&gt;  
</code></pre>

<p>Please help me.</p>