sirkitree / angular-directive.g-signin

:triangular_ruler: AngularJS Directive for Google Plus Sign-in Button
http://jeradbitner.com/angular-directive.g-signin/
148 stars 84 forks source link

custom google button #39

Closed shrutiLetsgomo closed 9 years ago

shrutiLetsgomo commented 9 years ago

How can we add custom google button using this library ?

sarbjeetsingh commented 9 years ago

I also want to do this

bartlomiejborzucki commented 9 years ago

+1

AlexMaystrenko commented 9 years ago

You could customize button style with CSS and add your content inside directive. In such way you'll get fully custom G+ button.

Example:

<google-plus-signin class="social-button" ng-click="loginWithGoogle()" clientid="<your_client_id>">
    <i class="fa fa-google-plus"></i>
    <p class="social-title">Login with Google</p>
</google-plus-signin>