Get map location of viewport with angular google maps
<p>I am using <a href="http://angular-ui.github.io/angular-google-maps/#!/" rel="nofollow">this plugin.</a> I am trying to get location lat long of <code>viewport</code>. What I am doing is adding event, because I need that info on every change and trying to figure it out how to pull that data of map object.
<code>JS</code>:</p>

<pre><code>$scope.events = {
  bounds_changed: function(pos) {
    console.log('pos');
    console.log(pos);
  }
}
</code></pre>

<p>HTML:</p>

<pre><code>&lt;ui-gmap-google-map events="events"&gt;&lt;/ui-gmap-google-map&gt;
</code></pre>

<p>But inside that map object i can't find something that can help me out.</p>