Recently, I came across this code snippet:
<div class="map" ng-controller="DealerMarkerListCtrl">
<a ng-click="showdetails=!showdetails" href="#/dealer/{{marker.id}}" class="marker" style="left:{{marker.left}}px;top:{{marker.top}}px" ng-repeat="marker in dealer"></a>
</div>
and also encountered this view:
<div ng-show="showdetails" class="alldealermodal">
<div ng-view></div>
</div>
While the "ng-show" function worked seamlessly with a single link outside the ng-repeat loop, it seems to be causing issues within the loop.
The desired functionality is for the link to open an overlay, which should display the content within the ng-view. However, this does not seem to be happening as expected.
I'm puzzled about what might be missing here. Any insights or suggestions would be greatly appreciated!