title: Pass an object as part of ng-map marker
body: <p>Using markers in <code>ng-map</code> with angular JS</p>
  
  <pre><code>&lt;ng-map zoom-to-include-markers="auto" default-style="false" class="myMap"&gt;
      &lt;marker ng-repeat="Customer in ListForDisplay"  position="{{Customer.location.lat}},{{Customer.location.lng}}" icon="{{Customer.icon}}" clickedaddress="{{Customer.address}}" clickedextras="{{Customer.extrasString}}" data="{{Customer}}"  on-click="markerSingleClick($event)" on-dblclick="markerDoubleClick($event)"&gt;&lt;/marker&gt;
  &lt;/ng-map&gt;
  </code></pre>
  
  <p>I can access the string variables in the controller, but the object <em>data</em>  still stays undefined in debugging sessions:</p>
  
  <pre><code>$scope.markerSingleClick = function (event) {
       var clickedaddress = this.clickedaddress;
       var clickedextras = this.clickedextras;
       var data = this.data;
  </code></pre>
  
  <p>Is there a way to pass an entire object as part of the marker, rather than single string properties</p>