I want to avoid id duplication and add values ​using push : angular.module("app", [])
  .controller('TabsDemoCtrl',function($scope,$http){
   
       $scope.items = [
     { id: 10, name: 'foo', price: '1000' },
     { id: 10, name: 'bar', price: '2000' },
     { id: 33, name: 'blah', price: '3000' }
   ];
});


output:<br>
id: 10<br>
name: foo<br>
price:1000<p>

id: 10<br>
name: bar<br>
price:2000<p>

id: 33<br>
name: blah<br>
price:3000<p>


Output as follows

id 10<br>
   name: foo<br>
   price: 1000<p>

   name: bar<br>
   price: 2000<p>
id 33<br>
   name: blah<br>
   price: 3000<br>


Please help me.