Here I’ll show a list of possible ways to control event binding on Angular UI-binded models (means Angular is managing the data model and will update UI when data changes)
Through infinity loop with breaking
<label>
<input type="checkbox" ng-model="suspendRestoreCommand.allSelected" ng-change="selectAll()">
<span>Select All</span>
</label>
<label ng-repeat="subscriber in suspendRestoreCommand.subscribers" class="accordion-checkbox checkbox23">
<input type="checkbox" ng-model="subscriber.selected" ng-change="selecting()" />
</label>
refer to https://docs.angularjs.org/error/$rootScope/inprog?p0=$digest