How can I use HTML5 geolocation in angularjs?? I can get it using HTML55; but how can I pass it to angularjs scope in controller??? any sample jsfiddle will save my day!
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
|
you can do something
you need to do $scope.$apply to trigger the digest cycle when the geolocation arrives and to update all the watchers. |
|||||||||||||||||
|