Solved a bad use of the leafletData.getMap() function in the access-leaflet-object-example example, as reported by @grantlucas here:
https://github.com/tombatossals/angular-leaflet-directive/issues/135#issuecomment-28459720