This repository was archived by the owner on Sep 2, 2022. It is now read-only.

Description
It looks like the example "cheats" a little by waiting for the user to click "Authenticate" before using gapi, which allows enough time for client.js to load itself and its dependencies.
I see that there's a handleClientLoad method defined on the googleLogin service, but I don't see it called. Failure to call this method also means that popup blockers block the auth page.