I'm using ngmap and need to create a context menu when peeps right-click
anywhere on the map and display a list of options. I've create an event
using...
google.maps.event.addListener($scope.map,
"rightclick",function(event){
$scope.showContextMenu(event);
});
...which all works hunky-dory but I'm a bit stumped on how best to go about
inserting a context menu where each option in the context menu is bound to
a function in $scope. Can anybody provide a novice with advice on the best
approach? Not sure if creating a new DOM element is the angular way...
should I be looking at a directive?
Any simple advice on the best approach is appreciated.
Cheers.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.