I'm using a toggle in my ionic project, and the generated html of this toggle is :
<div class="item item-toggle toggle-large ng-valid ng-empty" ng-class="checkarrivee.ficheDeMission==undefined ? '' : 'ff'" ng-model="checkarrivee.boo[var.id]" ng-click="checkarrivee.isMissionSelected(var.id,checkarrivee.ficheDeMission.id)" toggle-class="toggle-positive" style=""><div ng-transclude=""><span class="ng-binding">Ceintures De Sécurités Passagères</span></div><label class="toggle toggle-positive disable-user-behavior"><input type="checkbox" ng-model="checkarrivee.boo[var.id]" class="ng-untouched ng-valid ng-dirty ng-empty" value="on"><div class="track"><div class="handle"></div></div></label></div>
what i want is to remove the item from the class because it makes troble for me, i tried to use ng-class but it can only add class over the defined class, so my question in how i can remove the item dynamiclly from the class??