<div ng-repeat="item in selectedSizes"
<input type="checkbox" id="ckl_{{item.id}}" ng-model="item.checked"
ng-change="selectSizeEdit(product.sizeArray, item.id)" ng-if="(product.sizeArray.indexOf(item.id) > -1)" ng-checked="true">
</div>
Within the provided code, checkboxes will be pre-selected based on values in the product's sizeArray. However, I am unable to select new checkboxes that are not within the sizeArray. Can someone please assist me with this issue?