I recently came across an interesting discussion on the necessity of ng-non-bindable for the <ui-gmap-windows> element in Angular Google Maps. It shed some light on how ng-non-bindable is utilized in the directive.
However, I encountered an issue while attempting to utilize ng-if to selectively display certain icons in my marker infowindows. Unfortunately, ng-if doesn't cooperate well with ng-non-bindable, but removing it breaks the functionality of the info windows.
If anyone has a workaround to make ng-if function effectively in this scenario or offer an alternative solution, I would be greatly thankful.
<ui-gmap-windows show="show">
<div ng-non-bindable>{{obj.name}}<br>{{distance}} miles
<span class="ion-man" ng-if="obj.men"></span>
<span class="ion-woman" ng-if="obj.women"></span>
<span class="ion-ios-people" ng-if="obj.people"></span>
</div>
</div>
</ui-gmap-windows>