I'm trying to fetch the gps coords of a user when the app starts, and I 
want to expose the lat, long, zip, gpsIssue, and inCorrectLocation 
properties to the user. Here's what I have written as a factory:

https://gist.github.com/mzarella/4ef6c8d5659e60b7ed69

When the controller finally gets around to calling Geo.zip or Geo.lat, 
Geo.long, etc. They values that are returned are the default values I set 
them to: null.

Any suggestions on how to get around this?

-- 
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