I am new to angularjs
and javascript
.I am using a contextmenu
in the text-angular
. So, My code is like -
<div contextmenu="meta.contextmenu" class="dropdown contextmenu ">
<ul class="dropdown-menu dropdown-content" role="menu" ng-if="showdropdownForProject" id="projectAnnotation">
<li>
<a role="menu" href
ng-click="sendInfo()">
<span>ABC</span>
</a>
</li>
<li>
<a role="menu" href
ng-click="sendInfo()">
<span>PQR</span>
</a>
</li>
<li>
<a role="menu" href
ng-click="sendInfo()">
<span>XYZ</span>
</a>
</li>
</div>
So, Here I am not able to get the selected value in the controller . So, How can I get that value , If I click on the ABC
, I need this value so that I can send it to backend. Thanks in advance.