How to validate a form when the submit button is outside of this form, with angularJs?
问题 I have a form element created with AngularJS with a submit button within it and I would like to put this button outside of this form. How can I do that with Angular and have my form still validated? e.g main html code: <div class="sd-chk-steps" ng-show="!step_03" ng-hide="step_03"> <!-- Panel Address --> <div id="sd-p-chk-1" class="large-8 columns sd-p-chk"> <div class="cover step_complete" ng-show="step_01" ng-hide="!step_01"> </div> <sd-panel-address > <!-- first form --> </sd-panel-address