Thanks Very Much On Thursday, May 22, 2014 6:59:00 PM UTC+1, Denis O'Sullivan wrote: > > Hi Daniel, this is serendipity! I just subscribed to ng-newletter.com, as > part of the subscription they sent me a free cookbook link: > http://ng-cookbook.s3.amazonaws.com/ng-cookbook.pdf > I gave it a quick browse and whoa! checkout pages 73 and on. They have a > fully coded example for geo done the angular way! > > how cool is that for you! > > > > On Thursday, May 22, 2014 8:20:09 AM UTC-7, Daniel Mills wrote: >> >> Hi, >> >> >> >> I am trying to build an app that gets the users current location, then >> queries an api services that then returns data based upon the users >> position. >> >> >> >> The two problems I am facing, is that when the app is first initialized >> it asked the user to grant permission to use locationwatch this takes >> around 10 – 30 seconds the find there location but I have a controller >> function that needs to run after this is complete in order to fire off the >> http get request for the data. >> >> >> >> When I run the problem now I get locationwatch.postion is undefined >> because the above has not yet taken place. >> >> >> >> Can anyone give me any sample code or guidance on how to solve this >> problem? >> >
-- 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 angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.