title: Implement GoogleMap.OnInfoWindowClickListener in Ionic 2
body: <p>I am looking for the syntax to implement GoogleMap.OnInfoWindowClickListener with my Ionic 2/Angular 2 app. I would like to redirect to a new page, i.e. push a new page to the the stack on the NavController, when the user clicks the info window inside of google maps. </p>
  
  <p>I have been able to set up the Markers using the following code:</p>
  
  <pre><code>    //Creates the event listener for clicking the marker and places the marker on the map 
      google.maps.event.addListener(marker, 'click', (function(marker, markerCount) {       
        return function() {        
          infowindow.setContent(htmlMarkupForInfoWindow); 
          infowindow.open(this.map, marker); 
        } 
      })(marker, this.markerCount));  
  </code></pre>
  
  <p>Unfortunately, the function calls inside the content of the info window lose reference to 'this' which results in errors. Any help is appreciated!</p>