Hi Michael,

Actually, there is not much of a difference between using the API with or 
without Angular. Encapsulating it in a service is indeed the way to go. 
Remember, a service is basically just a normal class that has access to, 
and is known by the injector. For an service wrapping any Google API, you 
probably should not be injecting anything.


Regards
Sander 

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" 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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to