Backspace for input text popup ionic


hi guys.

i am make popup number with ionic and it’s work perfectly.
but finally, i found the problem.

when seen in the picture, there is only the save and cancel. if we enter the wrong input, theres no backspace key. So, i don’t know how to make it.

This my code for popup :

<div id="number">
    <input type="text" class="tags" ng-model="data.tes" readonly>
    <button class="phoneNumber" ng-repeat="button in number" ng-click="data.tes = data.tes + '' + button">{{button}}</button>

Any suggestion for me?
Thanks in advance


hi,I also want to add the backspace button,
did u solved your problem,
Please give me also idea how to do this