title: Google Maps click on InfoWindow
body: <p>I am trying to call a function when user touches(clicks) on infoWindow. User scenario: User clicks on a google maps marker, an info window opens. User clicks on an item in infoWindow content. This click calls a function and another page opens. 
  I am doing this in ionic 2 and typescript.</p>
  
  <p>Here is the info window content :</p>
  
  <pre><code>text2 = text2 + '&lt;div id="wrapper"&gt;' + '&lt;div id="sidebar" &gt;' + '&lt;h5 onclick()=" '+ this.goToDealPage(businessDetails.deals[a])+ ' "&gt;'+ businessDetails.deals[a].deal.title +'&lt;/h5&gt;&lt;/div&gt;'+ '&lt;div id="content"&gt;&lt;h4 class="realprice"&gt;&lt;del&gt;'+ businessDetails.deals[a].deal.real_price + '&lt;/del&gt;&lt;/h4&gt;' +'&lt;h4 class="dealprice"&gt;'+ businessDetails.deals[a].deal.deal_price +'&lt;/h4&gt;&lt;/div&gt;'+ '&lt;br&gt;&lt;/div&gt;';
  </code></pre>
  
  <p>What is happening now: When I click on the marker, this.goToDealPage(..) is directly called and the page opens immediately before clicking on infoWindow. I want it to be called when user click on infoWindow link not the marker itself. </p>