angular-re-captcha

google recaptcha service for angularjs
Homepage:
2 people use it
Author: B07a49e75bb702f8b70afe9ef83c0637?d=https%3a%2f%2fidenticons.github.com%2f2621f90abdd78570c07b3e793f921467 mllrsohn
Submitted by: 9f4290cddd77a96c37435822ed9a211d?d=https%3a%2f%2fidenticons.github.com%2f33e9aabf2e984f5ce43ca1b8b42eb400 steffenmllr

angular-re-captcha Bower version Build Status

Integrate reCAPTCHA into angularjs with form validation support.

Install

Install via bower:

Include the file into your application:

Usage Example

Your can have a look at the example. Basically you have to add reCAPTCHA to your dependencies, configure your key.

and use the directive within a form. Make sure to set a ng-model

API

reCAPTCHAProvider

reCAPTCHAProvider.setPublicKey()

Type: function
Default: null

Sets the PublicKey

reCAPTCHAProvider.setOptions()

Type: function
Default: null

Sets the options, that get passed into the Recaptcha.create call. Here are a list of the available options

Contribute

Pull requests are welcome. Please make sure that you include tests in your PR.

License

MIT License

comments powered by Disqus
This page was last updated about 3 years ago.