Angular-GAPI is an AngularJS module for accessing different Google APIs.
The code is based on ngGAPI
$ bower install quivr/angular-GAPI --save
$ npm install quivr/angular-GAPI --save
then load it in your html
Add module dependency
After you register your app in the Google APIs Console, configure angular-GAPI with credentials and whatever scopes you need for your app.
angularvalue'GoogleApp'apiKey: 'YOUR_API_KEY'clientId: 'YOUR_CLIENT_ID'scopes:// whatever scopes you need for your app, for example:''''''// ...
To use a specific service, inject it into your controllers by name. All GAPI methods return a promise.
Note: If pop-ups are being blocked, make sure to have gapi loaded before calling GAPI.init().
For a full documentation of the available functions, consult the wiki