Welcome aboard! We are happy you are here and wish you good net-raft!
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="//code.angularjs.org/snapshot/angular.min.js "></script>
</head>
<body ng-app="getLatLong">
<script>
var app = angular.module('getLatLong', []);
app.controller('myLatLong', function($scope, $http) {
$http.get("http://freegeoip.net/json/").then(function (response) {
$scope.latitude = response.data.latitude;
$scope.longitude = response.data.longitude;
});
});
</script>
<div ng-controller="myLatLong">
<span>{{latitude}}</span></br>
<span>{{longitude}}</span>
</div>
</body>
</html>
The most helpful ANGULARJS solutions