title: Google Maps and Ionic not working
body: <p>I downloaded the geolocation plugin : </p>
  
  <blockquote>
    <p><a href="http://ngcordova.com/docs/plugins/geolocation/" rel="nofollow noreferrer">http://ngcordova.com/docs/plugins/geolocation/</a></p>
  </blockquote>
  
  <p>this is the code in my html file: </p>
  
  <pre><code> &lt;div class="row"&gt;
          &lt;div class="col"&gt;
              &lt;div id="map" data-tap-disabled="true"&gt;&lt;/div&gt;
          &lt;/div&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>and this is the code in my controller :</p>
  
  <pre><code>var options = {timeout: 10000, enableHighAccuracy: true};
  
  
  $cordovaGeolocation.getCurrentPosition(options).then(function(position){
  
              var latLng = new google.maps.LatLng(3.1275345, 101.64342239999996);
  
                      var mapOptions = {
                          center: latLng,
                          zoom: 15,
                          mapTypeId: google.maps.MapTypeId.ROADMAP
                      };
  
                      $scope.map = new google.maps.Map(document.getElementById("map"), mapOptions);
  
                  }, function(error){
                      console.log("Could not get location"  + JSON.stringify(error));
                  });
  </code></pre>
  
  <p>the error however, doesn't show anything.
  The error is </p>
  
  <blockquote>
    <p>Could not get location{}</p>
  </blockquote>
  
  <p>How do I fix this ? </p>