I'm trying to write a popUp function but I can't seem to figure out how to bind anything to the markers on my map.
<leaflet id="owmMap" event-broadcast="events" center="center" markers="markers" layers="layers"></leaflet>
I've been trying this for a while but it comes back empty
$scope.markers
If I got you right you want to bind the content of your $scope.markers variable to the markers attribut uf your element.
To bind a Variable from the scope to the HTML you need to use interpollation like this: