title: Click event in AngularJs Google Maps
body: <p>I am using <a href="http://angular-ui.github.io/angular-google-maps" rel="nofollow">http://angular-ui.github.io/angular-google-maps</a> and I am not able to catch the event of simple click on the map.</p>
  
  <p>I tried it like this:</p>
  
  <pre><code>_scope.map = {
      center: { latitude: position.coords.latitude, longitude: position.coords.longitude },
      zoom: 16,
      events: {
         click: function(mapModel, eventName, originalEventArgs) {
              console.log("user defined event: " + eventName, mapModel, originalEventArgs);
              var e = originalEventArgs[0];
              _scope.$apply();
         }
      }
  };
  
  &lt;ui-gmap-google-map center="map.center" zoom="map.zoom"&gt;&lt;/ui-gmap-google-map&gt;
  </code></pre>
  
  <p>I doesn't work like this and I don't know what to do. I would like to be able to get the coordinates of the clicked location. Thnx</p>