tombatossals/angular-leaflet-directive — pull request #114 by Hyzhak (2013-08-25 10:11:27+00:00)
Title: add support of custom controls

# Usage
## Partial
``` html

```
## Controller logic
```javascript
//setup custom controls
$scope.myCustomControls = [];

var MyControl = L.Control.extend({
options: {
position: 'bottomleft'
},

onAdd: function (map) {
var className = 'leaflet-control-my-location',
container = L.DomUtil.create('div', className + ' leaflet-bar');

// add here MyControl view & logic

return container;
}
});

$scope.myCustomControls.push(MyControl);
```

more about custom controls http://leafletjs.com/reference.html#icontrol