title: Angular ng-repeat-start inside a different "level" tag that ng-repeat-end. Is it a bug?
body: <p>I ran into this situation where I needed to repeat an HTML code block with <code>ng-repeat-start</code> / <code>ng-repeat-end</code> but had angular complaining that:</p>
  
  <blockquote>
    <p>Error: [$compile:uterdir] Unterminated attribute, found 'ng-repeat-start' but no matching 'ng-repeat-end' found.</p>
  </blockquote>
  
  <p>I found a workaround which it might be useful to someone that will run into this situation. I would also like to know what you think. Is it a bug? I should have avoided that approach? I am using Angular v1.3.5 and the code is like that:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table&gt;
    &lt;thead&gt;
      ...
      &lt;tr ng-repeat-start="a in b"&gt;
        ...
      &lt;/tr&gt;
      ...
    &lt;/thead&gt;
    &lt;tbody&gt;
      ...
    &lt;/tbody&gt;
    &lt;thead&gt;
      ...
      &lt;tr ng-repeat-end&gt;
        ...
      &lt;/tr&gt;
      ...
    &lt;/thead&gt;
  &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The problem seems to be that the <code>ng-repeat-end</code> is not within the same HTML tag block (here the first <code>thead</code> that <code>ng-repeat-start</code> is inside).</p>
  
  <p>I found a workaround with the following code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table&gt;
    &lt;thead&gt;
      ...
    &lt;/thead&gt;
    &lt;thead ng-repeat-start="a in b"&gt;
      &lt;tr&gt;
        ...
      &lt;/tr&gt;
      ...
    &lt;/thead&gt;
    &lt;tbody&gt;
      ...
    &lt;/tbody&gt;
    &lt;thead&gt;
      ...
    &lt;/thead&gt;
    &lt;thead ng-repeat-end&gt;
      &lt;tr&gt;
        ...
      &lt;/tr&gt;
      ...
    &lt;/thead&gt;
  &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This way I am bringing the <code>ng-repeat-start</code> and <code>ng-repeat-end</code> within the same tag, the <code>table</code>.</p>