AngularJS: Call the ng-submit event outside the form

前端 未结 10 1492
渐次进展
渐次进展 2020-12-09 02:07

I\'m a fish in AngularJS and I have this scenario.

10条回答
  •  生来不讨喜
    2020-12-09 02:19

    In Angular you don't submit forms (well, at least in the angular way). You just need a function that will do what you want to do when you complete the form.

    Just call that function in your

提交回复
热议问题