I'm using google's recaptcha in an angular project, it works as expected but I can't figure out how to reset it.
I have a form in which the user sends data and I would like after a successful post from the form to reset the form so that the user can send another mail.
In my controller I have the following method:
var resetForm = function () {
//reset my models
//reset my flags
//here I would like to reset the recaptcha
}
How can I do this from a function that is inside an angular controller ?