lc-captcha for angular
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo add demo alert Nov 24, 2016
dist add demo alert Nov 24, 2016
src init commit Nov 23, 2016
.gitignore init commit Nov 23, 2016 Update Nov 24, 2016
liteServerConfig.js init commit Nov 23, 2016
package.json init commit Nov 23, 2016
webpack.config.js init commit Nov 23, 2016

Luosimao Captcha For AngularJS

Getting started

This is a directive for AngularJS ^1.2.0. And ease the way to display a luosimao captcha on your page.

If you plan to hack on the directives or want to run the example locally, first thing to do is to install NPM dependencies:

npm install

Launch the demo

To run the demo page, just run

npm start

and open your browser on http://localhost:8080/.

Example Html

<lccaptcha lc-key="Your-Data-Site-Key" lc-width="100%" lc-verified="vm.captcha_verified(resp, LUOCAPTCHA)">
captcha_verified(response, LUOCAPTCHA) {
    this.captcha = response;
    this.luocaptcha = LUOCAPTCHA;

reset() {

See demo/* for more information.


  • jQuery


Use in your project:

npm install git:// --save

angular.module('app', ['lccaptcha'])


const ngLcCaptcha = require('lc-captcha-angular').ngLuosimaoCaptcha;
angular.module('app, [ngLcCaptcha])


MIT License