Angular's ng-click gets triggered twice when I click label which has input inside in it. I've tried $event.stopPropagation();
but didn't work. How do I solve this?
I've checked this question also: Angular.js ng-click events on labels are firing twice
<div class="list-group-item" ng-repeat="item in model.data">
<form role="form" name="selectForm" novalidate>
<label ng-click="$event.stopPropagation(); updateSelected();">
<input type="checkbox" ng-model="chechkedSkins[item.id]" />
<span>{{item.name}}</span>
</label>
</form>
</div>
$event.preventDefault();
? – Domain