I have 2 text fields.
input type="text" placeholder="name" ng-model="name">
input type="text" placeholder="number" ng-model="number">
I validate that the button is not active if no data in text fields. I do not know how to make the button is disabled if there is no positive integer in the text field "number".
<button ng-disabled="!name || !number" value="buttonTest"></button>
I need to be a strictly input type = 'text'