use ng-submit to save patient