How merge images on uncheck Check box?

Hell Sir,
when i check check box it is working nice. But when i unchecked the checkbox, It is not merger. I have used bellow code:
My Array is below

description: item.description,
img: item.img,
show: false,

On checkbox I call ng-change=“changeItem(item)”;


angular.forEach($scope.itemshide, function(itemshide, index) {       
        if(item.checked == true) { = true; 
        }else{ = false; 


It shows below…
<-div ng-repeat=“item in itemshide” ng-show=“”>
<-img src=“data:image/png;base64, {{item.img}}” style={{}}>