Fixed race condition where angular sometimes tried to boostrap before the google drive api had loaded.