title: How to use angular-google-maps <markers> directive?
body: <p>I'm using angular-google-maps in <a href="http://angular-google-maps.org/" rel="nofollow noreferrer">my project</a>.</p>
  <p>I'm trying to add multiple markers, using objects of the following definition:</p>
  <pre><code>vehicles = [
  {
      stuff: &quot;stuff&quot;,
      last_known_location: {
          latitude: number,
          longitude: number
      }
      
  },
  {
      stuff: &quot;stuff&quot;,
      last_known_location: {
          latitude: number,
          longitude: number
      }
      
  },//...etc
  ]
  </code></pre>
  <p>My directive looks like:</p>
  <pre><code>&lt;markers models='vehicles'
           coords='vehicles.last_known_location' &gt;
  &lt;/markers&gt;
  </code></pre>
  <p>Vehicles is an array of objects as described above.</p>
  <p>This doesn't work. If I change my model to just have properties of latitude and longitude and completely lose the <code>last_known_location</code> property and change my directive <code>coords='self'</code> then it works fine. What do I need to do to get this working with my json structure?</p>