How to concat checkbox checked values?

Hello sir,
I have used for checkbox.
$scope.burgerList = [ {id:1, title:‘Buger 1’},{id:2, title:‘Buger 2’}, {id:3, title:‘Buger 3’} ]

On checked bellow function i have used.


<-div ng-repeat="item in burgerList " >
<-ion-checkbox ng-click=“itemsChecked(item)” >


I want to concat id like [1][2] on checked checkbox. On uncheeked remove id. Only checkbox value will concat. If i unchecked checked value then remove concat id.

Please help me …