I have made an AngularJS form that integrates Stripe thru a directive. Fiddle here: https://jsfiddle.net/u5h1uece/.
Instead of using form.submit(), I want to use $http.post() to send the form parameters and data to my backend, then send back any data from there in a .then() function. In this case, the parameters include reg.email's value. How do I do this with the way my form is set up? I'd prefer using ng-submit, but if that's not possible, is there another way? StackOverflow question if you want SO points: https://stackoverflow.com/questions/49062620/how-do-i-send-a-post-request-with-all-parameters-from-a-form-using-an-angularjs?noredirect=1#comment85130941_49062620 -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
