title: AngularJS ForEach push new item into object
body: <p>I have a JavaScript object which has a list of retailers</p>
  
  <pre><code>var listRetailers = [
  {"url":"http://www.fake1.com", "img":"images/1logo.jpg"},
   {"url":"http://www.fake2.com", "img":"images/2logo.gif"},
   {"url":"http://www.fake3.com", "img":"images/3logo.gif"},
   ]
  </code></pre>
  
  <p>I would like to PUSH a new key:value into each item:</p>
  
  <pre><code>object.push("storeNumber": "1");
  </code></pre>
  
  <p>So the updated JavaScript object will be</p>
  
  <pre><code>var listRetailers = [
  {"url":"http://www.fake1.com", "img":"images/1logo.jpg", "storeNumber":"1"},
   {"url":"http://www.fake2.com", "img":"images/2logo.gif", "storeNumber":"1"},
   {"url":"http://www.fake3.com", "img":"images/3logo.gif", "storeNumber":"1"},
   ]
  </code></pre>
  
  <p>Within my angular controller I have</p>
  
  <pre><code>$scope.retailers = listRetailers ;
  
  angular.forEach($scope.retailers, function(obj){
            obj.push("storeNumber": "1");
          });
  </code></pre>
  
  <p>The error states:  Object # has no method 'push'</p>
  
  <p>What am I missing here? </p>