AngularJS は $id(item) の結果をキーにしてDOM を管理する。文字列 "a" に対しては常に同じキーが与えられる。そのためふたつめの文字列 "a" のキーは、すでに管理に使われているぞ、というエラーである。 You can also provide an optional tracking function which can be used to associate the objects in the collection with the DOM elements. If no tracking function is specified the ng-repeat associates elements by identity in the collection. It is an error to have more than one tracking fun