Is there angular event trigger function, like we have with jQuery for following action?
$('.link').click(function () {
$('form').submit(); // this will submit form
});
Please note, that this is not onSubmit function which is mostly <form ng-submit="submit()"/>
You can use
ng-click
to call a function in your controller to execute form submission.using jQuery
or
using JavaScript