Submit form on pressing Enter with AngularJS
Angular supports this out of the box. Have you tried ngSubmit on your form element? EDIT: Per the comment regarding the submit button, see Submitting a form by pressing enter without a submit button which gives the solution of: If you don’t like the hidden submit button solution, you’ll need to bind a controller function to the Enter keypress … Read more