use ng-submit on form instead of ng-click on button