You're updating scope here but you're using $rootScope.getGeoLocaiton() above. Not sure I follow.