added return code for submit function
added autofill-event to fix autocomplete/autofill problems and form
validation.
https://github.com/angular/angular.js/issues/1460#issuecomment-34364374