Q:

how i set angulrajs checkbox ng-model to multiple select in laravel foreach and pass values to angularjs controller

I need sample code please..
i tried to set ng-model like 
data-ng-model="barcodeData.items.<?php echo $items->item_code; ?>"

and also tried 
data-ng-model="barcodeData.items.{{$item->item_code}}"

A:

we cannot pass number or special characters as a object i just pass like
data-ng-model="barcodeData.items[<?php echo $items->item_code ;?>]
like this now its work 

