leaflet-popup-angular
leaflet-popup-angular copied to clipboard
Timeline for templateUrl?
Any idea on when the templateUrl feature will be added? I'd like to try this plugin out on a project.
I know this is kind of necro but it might help someone in the future. Here is how I solved this problem:
var templateURL = 'path/to/template.html';
return $templateRequest(templateURL).then(function(template) {
return L.popup.angular({
template: template,
controller: 'myAngularController'
}).setContent(content).setLatLng(latLng).openOn(self.map);
});
It's not that hard to edit the source code and add the templateUrl functionality but I just worked around it.