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

$scope.itemshide.push({
id: item.id,
description: item.description,
img: item.img,
show: false,
style: item.style
});


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

$scope.changeItem=function(item){

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

}


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