In my form I have a client field. I need, when the user presses the delete or return key, a method that I have in my controller is triggered, how can I capture if one of these keys was pressed?
I'm using AngularJs
this is my input:
<input placeholder="Digite as iniciais para fazer a pesquisa." class="md-input label-fixed" ng-model="registro2.razao"/>