Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

launchscout/angular-googleapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-googleapi

angular-googleapi makes it easy to use google apis from angular. So far we have support for login and a couple of google calendar methods, but it should be super easy to add others.

Installation

bower install angular-googleapi

Or just download src/angular-googleapi.js

Then in your angular module add angular-googleapi as a dependency.

Usage

The module will automatically load and initialize the Google API. There is no need to manually include a <script> element to load the API. Once the API is ready, it will broadcast a google:ready message to $rootScope.

Once this has occurred, call googleLogin.login() to perform the login operation. This method returns a promise.

Demo

Clone this repo. Install node and http-server npm. Run http-server -p 8000 and go to http://localhost:8000/example.html to see an app that will let you load entries from your google calendar.

Also, check out LetsGitLunch

About

angular module to integrate google apis

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •