Ionic promp on enter not submit

In ionic 1.2.4 prompt popup is not submitting on enter/return.
There is a way to make it work or only use show popup and make it with my own template?