In this plunk I have an Angular UI dropdown. Is there a way NOT to repeat the ng-click in each <a> element?
HTML
<div class="btn-group" uib-dropdown>
<button id="btn-append-to-body" type="button" class="btn btn-primary"
uib-dropdown-toggle>
{{selection}} <span class="caret"></span>
</button>
<ul class="dropdown-menu" uib-dropdown-menu="" role="menu"
aria-labelledby="btn-append-to-body">
<li role="menuitem">
<a href="#" ng-click="selectItem('1')">The first item</a>
</li>
<li role="menuitem">
<a href="#" ng-click="selectItem('2')">Another item</a>
</li>
<li role="menuitem">
<a href="#" ng-click="selectItem('3')">Yet another item</a>
</li>
</ul>