私はangularjsAppにGoogle Captchaを実装しました。ReCaptcha Googleのデータコールバックwith angularJs
私は、このHTML
<div class="g-recaptcha" data-sitekey="{{key}}" data-callback="enableBtn()"></div>
を持っており、私のコントローラで私が持っている:
$scope.enableBtn = function(){
$scope.captchaSigned = true;
};
$scope.key = "xyz";
しかし、仕事と私のコンソール・リターンではありません:
ReCAPTCHA couldn't find user-provided function: enableBtn()
はどのようにして作ることができますAngularjs
のデータコールバック?あなたのhtmlプットで
を解決しました。私はhttps://github.com/VividCortex/angular-recaptchaで解決しました – LorenzoBerti