angular-leaflet-directive
angular-leaflet-directive copied to clipboard
Cannot set a dynamic ID to a component
Hello,
I'm trying to set a $scope variable on the component. Specifically an ID. I know the variable is there in the scope, I've double checked.
Here's my code:
<leaflet id="{{id}}" lf-center="center" controls="controls" layers="layers" width="100%" height="400"></leaflet>
And the output I am getting is:
leafletDirectiveMap.{{id}}.mouseout
Am I missing something? Thank you in advance for the help.