As the title says, limit the input to only numbers, and finally get the values of all inputs
<p ng-repeat='item in data'>
<input type='text' value='{{item.name}}'>
</p>
My original method was to use native javascript to operate. Although it can also solve the problem, it is not ideal. I am looking for some ideas
directive