title: How can i get latitude and longitude coordinates from JSON Google Maps
body: <p>I know what i can get JSON LatLon (and other) data indicate my address in the URL</p>
  
  <pre><code>app.factory('myCoordinates', function myCoordinates($q, $http) {
  
      var deferred = $q.defer();
  
      $http.get('http://maps.google.com/maps/api/geocode/json?address=$address&amp;sensor=false&amp;region=$region')
              .success(function(coordinates) {
                  var myCoordinates = {};
                  myCoordinates.lat = coordinates.results[0].geometry.location.lat;
                  myCoordinates.lng = coordinates.results[0].geometry.location.lng;
                  myCoordinates.zoom = 14;
                  deferred.resolve(myCoordinates);
          })
  
      return deferred.promise;
  
  });
  </code></pre>
  
  <blockquote>
    <p><a href="http://maps.google.com/maps/api/geocode/json?address=" rel="nofollow">http://maps.google.com/maps/api/geocode/json?address=</a>$address&amp;sensor=false&amp;region=$region</p>
  </blockquote>
  
  <p>But how can i get latitude and longitude coordinates of my current location without input my address in URL (automatically) ?</p>