I have tried 2 steps after downloading library and included in my project.
<script type="text/javascript" src="path-to-the-library/angular-google-client.min.js"></script> You don't need to load any Google client library script explicitly. angular-google-client will do it for you. <https://github.com/canemacchina/angular-google-client#add-dependency>Add dependency var app = angular.module('myModule', ['cmGoogleApi']); I am getting error "[$injector:nomod] Module 'cmGoogleApi' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument." On Monday, December 21, 2015 at 3:41:29 PM UTC+5:30, Seema Sharma wrote: > > I have used following directive. > https://github.com/sirkitree/angular-directive.g-signin > > But i am getting this error: > > "Error: gapi is not defined" > > Please provide solution. How i can resolve this issue? > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
