title: ng-repeat add items (AngularJs 1.2.26)
body: <p>I am testing a code with ng-repeat,
  But with the old version of angular, it's works, but with the latest version it doesn't work !</p>
  
  <p>I explain : </p>
  
  <p>I test this code :</p>
  
  <pre><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.1.0/angular.js"&gt;&lt;/script&gt;
  
  &lt;div ng-app="myApp"&gt;
      &lt;div ng-controller="MyCtrl"&gt;
          &lt;ul&gt;
              &lt;li ng-repeat="item in items"&gt;{{item}}&lt;/li&gt;
          &lt;/ul&gt;
          &lt;input ng-model="newItem" type="text"&gt;&lt;/input&gt;
          &lt;button ng-click="add(newItem)"&gt;Add&lt;/button&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;script&gt;
  var app = angular.module('myApp', []);
  
  app.controller('MyCtrl', function($scope) {
      $scope.items = ["A", "B", "C", "D"];
      $scope.add = function(item) {
          $scope.items.push(item);
      };
  
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>When I add severarls items, it works fine ! with the angular.js/1.1.0 version
  It add a new item</p>
  
  <p>But with the latest version it doesn't work !
  We can add one item, but if we add more than one item, it makes this error : </p>
  
  <blockquote>
    <p>Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: item in items, Duplicate key: string:d</p>
  </blockquote>
  
  <p>So my question is how can we add news items in ng-repeat with the news versions ?</p>
  
  <p>Thanks !</p>