Hello All,

I have created an Angular app. & I am trying to integrate it with GAPI.
This is the link which I followed:-
http://stackoverflow.com/questions/19399419/angular-js-and-google-api-client-js-gapi

It seems not to be working for me.
It cannot recognize the endpoint.
:
return {
        getData: function (key) {
          var d = $q.defer();
          $window.gapi.client.myendpoint.getById({
              'Id': key
          }).execute(function(resp) {
              d.resolve(resp.items);
          });
          return d.promise;
      }
    };

How can I do this?


Thanks,
Avi

-- 
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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to