fix(submitForm): code should be wrapped in an $apply
fix(submitForm): code should be wrapped in an $apply

If the code inside of $apply throws an error, $exceptionHandler can pick it up

cesarandreu/angular-server-form