I want to create a form object and submit it inside my controller when a user performs some action. I don't want to show this form on my DOM.
I found a similar question here, but it's based on Jquery.
$('<form action="form2.html"></form>').appendTo('body').submit();
How can do this using AngularJS. Thanks