Solved a bug in the example, as reported by @robotnic here:
https://github.com/tombatossals/angular-leaflet-directive/issues/528