title: Does Angular support an *ngWhile microsyntax?
body: <p>How would I go about writing a while loop, doing the equiv of</p>
  
  <pre><code>while (x--) {
    &lt;li&gt; foo {{x}} &lt;/li&gt;
  }
  </code></pre>
  
  <p>with a "microsyntax" similar to <code>*ngFor</code> but for looping with an incrementer or decrementer rather than over an object. So if component has <code>x = 5</code>. And I want </p>
  
  <pre><code>&lt;li&gt; foo 5 &lt;/li&gt;
  &lt;li&gt; foo 4 &lt;/li&gt;
  &lt;li&gt; foo 3 &lt;/li&gt;
  &lt;li&gt; foo 2 &lt;/li&gt;
  &lt;li&gt; foo 1 &lt;/li&gt;
  </code></pre>
  
  <p>Or the like. <a href="http://www.template-toolkit.org/docs/manual/Directives.html#section_WHILE" rel="nofollow noreferrer">Template Toolkit does this with <code>WHILE</code></a>. I'm looking for that kind of functionality. So does <a href="https://pugjs.org/language/iteration.html#while" rel="nofollow noreferrer">jade/Pugs</a>.</p>