title: How to set repeated element id in AngularJS?
body: <p>I'd like to do something like:</p>
  
  <pre><code>&lt;div class='row' ng-repeat='row in _.range(0,12)'&gt;
      &lt;div id='{{row}}'&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>but when in the controller I try:</p>
  
  <pre><code>function SetterForCatanCtrl($scope) {
      $scope._ = _;
      try {
          var tile = document.getElementById('5');
          tile.style.backgroundImage = "url('aoeu.png')";
      } catch (e) {
          alert(e)
      }
  }
  </code></pre>
  
  <p><code>getElementById</code> returns null so how can an element's id be set using AngularJS variables?</p>