Create validation number

hy guys,

I want to make the popup validation number. when i click one of number, value multiple of the < input type = “text” ng-model=“data.number” > in accordance with that I click.
for each figure, whether to use < button value = “1” ng-model = “data.number”> 1 </ button> ?


I need advice for this case.
Thanks in advance.