angular-ui / ui-leaflet

AngularJS directive to embed an interact with maps managed by Leaflet library
http://angular-ui.github.io/ui-leaflet
Other
314 stars 134 forks source link

ng-include inside path popup #115

Open nmccready opened 9 years ago

nmccready commented 9 years ago

From @cyrilchaponeverysens on September 21, 2015 8:24

When working with paths, the following doesn't work

var path = {
  [...],
  message: '<div ng-include src="views/partials/my-partial.html"/>',
  [...]
}

whereas same thing with markers does work.

Probably because this clever kind of logic for markers is not applied when binding path popup

Copied from original issue: tombatossals/angular-leaflet-directive#953

nmccready commented 9 years ago

Care to PR the extra missing functionality?

nmccready commented 9 years ago

From @jessertaylor on October 22, 2015 14:27

Seems like a copy and paste job to me, but would be better to make the whole thing a bit more generic so the code can be re-used for markers and paths, and anything else that might utilise this.

nmccready commented 9 years ago

Agreed