I may be asking the same question as Similar q, but I'm not sure!
Basically I have code to add markers to a Google map. Then an infowindow displays. How can I put a form in here that has elements binding to the scope of a module? Angular is running ok on the rest of the page (I have a simple expressions to test this), but it's not running in the form as {{text}} never changes.
var html =
"<form id=\"markerInput\" ng-controller=\"markerCtrl\">"+
"<input ng-model=\"text\">{{text}}</form>";
infowindow = new google.maps.InfoWindow();
google.maps.event.addListener(map, "click", function(event) {
marker = new google.maps.Marker({
position: event.latLng,
map: map
});
google.maps.event.addListener(marker, "click", function() {
infowindow.setContent(html);
infowindow.open(map, marker);
});
});