Snippet of HTML code:
<div class="block ng-scope" ng-repeat="skills in data.primary_skills">
<div class="block skillsLineItem" ng-class="{manditorySkillsLineItem:skills.mandatory, skillsLineItem:!skills.mandatory}">
<label title="Testing" class="skill-name col-xs-5 text-overflow-ellipsis ng-binding" ng-click="toggleMandatory(skills)">
<!-- ngIf: skills.mandatory -->
<!-- ngIf: skills.userdefined -->
Testing
</label>
Another snippet of HTML code
<label title="Test Scripts" class="skill-name col-xs-5 text-overflow-ellipsis ng-binding" ng-click="toggleMandatory(skills)">
<!-- ngIf: skills.mandatory -->
<!-- ngIf: skills.userdefined -->
Test Scripts
</label>
I am facing an issue with clicking on multiple elements with the same class name and ng-click values in our application. I need to click on both elements, so any assistance in achieving this would be greatly appreciated.