ReferenceError: google is not defined using ng-map GeoCoder service
<p>I'm getting the following error trying to use the geocoder service for the <a href="https://github.com/allenhwkim/angularjs-google-maps" rel="nofollow">ng-map library</a>:</p>

<p><code>angular.js:13642 ReferenceError: google is not defined
    at Object.t [as geocode] (http://localhost:6240/Scripts/ng-map.min.js:25:28246)</code>    </p>

<p>I'm injecting the service into my controller</p>

<pre><code>appModule.controller('MyController', ['$scope', 'NgMap', 'NavigatorGeolocation', 'GeoCoder', 
    function ($scope, NgMap, NavigatorGeolocation, GeoCoder) {
        GeoCoder.geocode({address: 'Avenida Calle 26 # 40-40, Bogotá'}).then(function (result) {
            //... do something with result
            console.log('RESULT GEOCODER: ', result);
        });
    }]);
</code></pre>

<p>I also tested it with NgMap function getting the same reference error</p>

<pre><code>NgMap.getGeoLocation('Avenida Calle 26 # 40-40, Bogotá').then(function (result) {
    console.log('GETGEOLOCATION: ', result);
}, function (error) {
    console.log('Error getting geolocation: ', error);
});  
</code></pre>

<p>As shown in the snippet, I have successfully used other NgMap and NavigatorGeolocation services.</p>

<p>Here is the code of my page</p>

<pre><code>&lt;div map-lazy-load="https://maps.google.com/maps/api/js" map-lazy-load-params="{{ $ctrl.googleMapsUrl }}"&gt;
    &lt;div class="row"&gt;
        &lt;div class="col-md-6"&gt;
            &lt;ng-map id="map"
                center="{{ $ctrl.mapCenter }}"
                street-view="{{ $ctrl.svp }}"&gt;&lt;/ng-map&gt;
        &lt;/div&gt;
        &lt;div class="col-md-6"&gt;
            &lt;ng-map id="sv" /&gt;
        &lt;/div&gt;
   &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>And in the corresponding controller/component</p>

<pre><code>$ctrl.googleMapsUrl = "https://maps.googleapis.com/maps/api/js?key=MY-API-KEY";
$ctrl.mapCenter = 'current-location';

NavigatorGeolocation.getCurrentPosition({ timeout: 10000 }).then(function (ll) {
    $ctrl.svp = "StreetViewPanorama(document.querySelector('ng-map#sv'), {position:new google.maps.LatLng(" + ll.coords.latitude + " , " + ll.coords.longitude + ")})";
 }, function (error) {
     console.log('error getCurrentPosition: ', error);
 });
</code></pre>

<p>I'm using AngularJS v1.5.6</p>

<p>Thanks in advance for your help.</p>