tombatossals/angular-leaflet-directive — pull request #541 by fbarnard (2014-11-19 15:29:19+00:00)
Title: Updated Legend.js

Made Changed to support removing legend after you set it. Also added watch for legend so that position/legendClass variables can be updated if changed.

Changes
Updating of legendClass/position variable when legend changes
Removing of leafletLegend when legend gets set to undefined