0

I have a list of check boxes...

<div class="checkBoxGroup" ng-repeat="service in getAdditionalServices()">
                <input ng-click="additionalServiceClick($index)" type="checkbox" value="{{service.text}}"><span class="fieldTitle">{{service.text}}</span>
</div>

Event handler...

$scope.additionalServiceClick = function ($index) {


};

In the 'additionalServiceClick' function I want to update an array of checked services. But angular unselects any attempt to check a check box if an ng-click handler is assigned.

How to get Angular to bog off in this instance?

Ian Warburton
  • 14,318
  • 20
  • 99
  • 173

0 Answers0