title: How to apply an ng-if (or other conditional) in multiple <td> elements while keeping it DRY
body: <p>I want to display a number of <code>&lt;td&gt;</code> elements based on the same condition. I am currently doing that with multiple, identical, <code>ng-if</code> directives, as such:</p>
  
  <pre><code>&lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt; Display unconditionally &lt;/td&gt;
      &lt;td&gt; Same here... (imagine more columns) &lt;/td&gt;
      ...
      &lt;td ng-if='myCondition'&gt; Display based on condition &lt;/td&gt;
      &lt;td ng-if='myCondition'&gt; And the same &lt;/td&gt;
      &lt;td ng-if='myCondition'&gt; for plenty of columns &lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
  </code></pre>
  
  <p>While this works one can't help but notice all the repetition. Any ideas on how I could DRY that up?</p>