use ng-submit to submit forms instead of ng-click