Following this issue: AngularJS ng-include inside of Google Maps InfoWindow?
The solution provided working great, but I found one issue when adding ng-click into the template, it doesn't get evaluated.
<script type="text/ng-template" id="/test.html">
<h4>{{latLng[0]}},{{latLng[1]}}</h4>
<button ng-click="clickMe()"/>click</button>
</script>
clickMe just test function inside controller,
$scope.clickMe = function(){
alert("clicked");
}
additional info: ng-hide is evaluated just fine:
<script type="text/ng-template" id="/test.html">
<h4>{{latLng[0]}},{{latLng[1]}}</h4>
<button ng-hide="true" ng-click="clickMe()"/>click</button>
</script>
any help would be great, thanks heaps, been couple days scratching my head, with no result.
Regards Jim