angular-directive.g-signin

AngularJS Directive for Google Plus Sign-in Button
4 people use it
Author: 4950478a2c8a6627004a41b2617948a4?d=https%3a%2f%2fidenticons.github.com%2f11b53f23ad385f735495083c7327faf9 sirkitree

Angular Google Plus Sign-in Button Directive

Homepage

A good starting place for a Google Plus sign-in button. Specify your client id and you're done. Well, almost. You'll also want a signinCallback() function so you can do something once your users are authenticated.

Usage

  1. Include google-plus-signin.js.
  2. Add directive.g+signin as a dependency to your app.
  3. Add <g+signin clientid="your-client-id"> to your app.
  4. Create a signinCallback() function to detect when your users are authenticated.

Example

See the homepage for an example.

License

♡ CopyHeart 2013 by Jerad Bitner | Copying is an act of love. Please copy.

comments powered by Disqus
This page was last updated over 4 years ago.