LocationService.askLocationPermission() .then(LocationService.getCoords) .then(function(coords) { console.log(coords); }) .catch(function(err) { console.log(err); });