TypeError: Cannot read property 'extend' of undefined
Hello, im trying to use your plugin on an ionic app thats using leaflet.js and openstreetmap. I am getting an error:
TypeError: Cannot read property 'extend' of undefined
Could you help me with this?
Is the leaflet library loaded? Can you see a line number or a screenshot of the error?
Hi, thank you for answering, heres a screen shot of the error:
Yes the leaflet library is loaded
Heres another screenshot of the error:

What's your Leaflet version?
My leaflet version is 0.7.7
Ok it is no longer showing this error when i switched to 1.2.0 version but when i follow this example here: http://tombatossals.github.io/angular-leaflet-directive/examples/0000-viewer.html#/layers/webgl-heatmap-example , i don't see Heatmap in the overlay or on the map at all?
Do you see the heatmap in the link you sent? Is it just in your own local example that you can't see it?
In the example i can see the heatmap, in my local example i can't
Any new errors?
I'm getting these 2: DevTools failed to parse SourceMap: http://localhost:3000/bower_components/ui-leaflet-layers/dist/ui-leaflet-layers.js.map and angular.js:14199 [AngularJS - Leaflet] A layer must have a valid type defined
Sorry, it looks like this is now beyond my expertise. I'm not familiar enough with AngularJS.
I can say it looks like it can't find a source map for a javascript file (which seems ridiculous), and is possibly related to a different plugin (ui-leaflet-layers)?
Yeah i've tried looking further into this but i haven't actually found anything related to my problem, i'm still not sure what's the problem. I've tried reinstalling all the plugins with bower and getting the updated versions but the issue still persists.
I am also having the exact same issue with 0.7.7. Need to be able to use 0.7.7 for angular-leaflet-directive.