Based on this docs :
http://ionicframework.com/html5-input-types/
There are many types of HTML5 input. The 2 of them are Number and Password. How to combine them?
I am not sure whether the tag-attribute value is similar with Cordova or not, because Ionic Framework is based on Cordova.
Seems like this question is answered before: in another post
I do not know however if this works correctly with ionic, but I wouldn't know why it shouldn't :)
JS can handle number on the fly
<input type="password" name="password" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,''),alert('only numbers')" id="password" value="" placeholder="Enter your numeric password">