I'm using angular-leaflet-directive and am trying to make my marker messages clickable. When I use html in the marker message the html is rendered correctly but ng-click doesn't work. Here's what I have.
$scope.map.markers.push({
lat: lat,
lng: lng,
message: '<span ng-click="openView()">' + data.results[i].locationName + '</span>',
draggable: false
});
Anyone know what I'm doing wrong or know how to call a function when the marker message is clicked?