I want to do something like in Excel. I have two inputs and in each I type values. When I press ENTER I want to capture the values entered, how can I do this? NOTE: I'm using Angular 1.
<div class="descontoPromo">
<input class="form-control depro" type="text" name="descontoPromocional" ng-model="valor.descPromo" >
</div>
<div class="descontoFin">
<input class="form-control defin" type="text" name="descontoFinanceiro" ng-model="valor.descFinan" >
</div>