title: Open infowindow by clicking a button in AngularJS
body: <p>I have used google map using AngularJs which is working fine. However, on clicking any marker infowindow opens but I need to open it by clicking a radio button outside the map, here is the code sample</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;ng-map default-style="true" center="[24.8615, 67.0099]" zoom="11" scroll-wheel="false" zoom-to-inculude-markers="auto"&gt;
  &lt;info-window id="rider"&gt;
      &lt;div ng-non-bindable=""&gt;
          {{vm.store.name}} &lt;br/&gt;
          {{vm.store.title}}&lt;br/&gt;
      &lt;/div&gt;
  &lt;/info-window&gt;
  &lt;marker ng-repeat="(id, store) in vm.stores" id="{{id}}" icon="../assets/images/rider.png"
          position="{{store.position}}"
          on-click="vm.showStore(event, id)"&gt;&lt;/marker&gt;
  </code></pre>
  
  <p></p>
  
  <p>JavaScript/AngularJs</p>
  
  <pre><code>vm.stores = [
         {position: [24.8820869, 67.06881520000002], title: 'Bahadrubad'},
         {position: [24.8753973, 67.04096709999999], title: 'Mazar e Quaid'},
         {position: [24.8758, 67.0230], title: 'Karachi Zoo'},
         {position: [24.8532941, 67.01622309999993], title: 'Saddar Town'}
     ];
  
  NgMap.getMap().then(function (map) {
          vm.map = map;
      });
  
      vm.showStore = function (e, storeId) {
          vm.store = vm.stores[storeId];
          vm.map.showInfoWindow('rider', this);
      };
  </code></pre>