uhm... Could you provide me your code?
Here it is a working plunker: http://plnkr.co/edit/LO36ah1BYY82JVW0GkIR
I've cut and paste the minified version, and it works..
Well, I havent set a valid ClientId, so the api call return an error, but
the library work. If you check the console you can see

*app.js:22 Object {result: Object, body: "{↵ "error": {↵  "errors": [↵   {↵
   "domain": "gl…e": 401,↵  "message": "Invalid Credentials"↵ }↵}↵",
headers: Object, status: 401, statusText: "OK"}*

that means the library have call Google Api and Google have rejected the
call because the client ID is invalid...

2015-12-21 11:47 GMT+01:00 Seema Sharma <[email protected]>:

>
> 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.
>

-- 
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.

Reply via email to