Added form and ng-submit handler