Button Go not work

I’m doing a form that, when you fill in the value of the search he just press the phone’s keypad the Go button. But this action is not working, when you click Go, nothing happens, then the user has to close the keyboard and then click the button. Can someone help me?

<button type="submit" class="button button-block" ng-click="consultProcessName(name)"/>Consult</button>

You need to use ng-submit in the element, vs the ng-click on the submit button. Angular handles forms a little differently.

<form ng-submit="consultProcessName(name)">
  <input type="text" ng-model="name" name="name" />
  <button class="button button-full button-positive" type="submit">


Hope this helps.

Good luck,


Thansk @rgecy
But he is not closing the keyboard after making the query. After bringing the reusiltados search, it does not hide the keyboard. Something else should be done?