title: Angular Ng duplicate Repeater
body: <p>I am creating a seat booking system in angular. My script generate multidimensional arrays from rows and columns. Every thing is working fine except when I retrieve the json data from database and tries to print the seating system, It returns me duplicate repeater error. </p>
  
  <p>Here is the repeater code I am using:</p>
  
  <pre><code>&lt;table class="em_venue_seating"&gt;
  
                  &lt;tr ng-repeat="row in term.seats" class="row isles_row_spacer" id="row{{$index}}" ng-style="{'margin-top':row[0].rowMargin}"&gt; 
  
  
                      &lt;td class="row_selection_bar" ng-click="selectRow($index)"&gt;
                          &lt;div&gt;Select Row&lt;/div&gt;
                      &lt;/td&gt;
  
                      &lt;td ng-repeat="seat in row" class="seat isles_col_spacer" ng-class="seat.type" id="ui{{$parent.$index}}-{{$index}}" 
                          ng-dblclick="selectColumn($index)" ng-style="{'margin-left':seat.columnMargin}"
                          ng-click="selectSeat(seat, $parent.$index, $index)"&gt;
                          {{seat.uniqueIndex}}
                      &lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/table&gt;
  </code></pre>
  
  <p>My json string which I am parsing before using is:</p>
  
  <pre><code>seats:"[[{"type":"reserve","price":9,"uniqueIndex":"0-0","row":0,"col":0,"columnMargin":0,"rowMargin":0,"$$hashKey":"object:327"},{"type":"reserve","price":9,"uniqueIndex":"0-1","row":0,"col":1,"columnMargin":0,"rowMargin":0,"$$hashKey":"object:328"}],[{"type":"general","price":9,"uniqueIndex":"1-0","row":1,"col":0,"columnMargin":0,"rowMargin":0,"$$hashKey":"object:333"},{"type":"general","price":9,"uniqueIndex":"1-1","row":1,"col":1,"columnMargin":0,"rowMargin":0,"$$hashKey":"object:334"}]]"
  </code></pre>
  
  <p>System is returning duplicate repeater issue for my first ng-repeat. Tried to use "track by $index" but it is causing infinite loop.</p>
  
  <p>Any help will be appreciated. I am new to Angular world. </p>