1
How do I access the variable LatLng
in the application?
$http({
method: 'POST',
url: './database/getCep.php'
}).then(function successCallback(response) {
var LatLng = $scope.get_cep = response.data;
console.log(LatLng);
});
You probably need to put it in the scope, but show us what you want to do more clearly.
– BrTkCa