create loop for, in angular 2 from a template
<p>Is possible, use something like the following in a template of angular2,</p>

<pre><code>for int a = 0; a &lt; numberTest; a++
</code></pre>

<p>this numberTest is in code component:</p>

<pre><code>numberTest: number = 5;
</code></pre>

<p>and the template, something like this, it is better to illustrate what I mean:</p>

<pre><code>&lt;li *ngFor="#int a = 0; a &lt; numberTest"&gt;
</code></pre>

<hr>

<p>I know that could be solved using an array, and iterate for example:</p>

<pre><code>&lt;li *ngFor="#item of items"&gt;
</code></pre>

<p>but my question is, if possible, create a for, in the template, which take the value condition using a variable component, hope I explain well.</p>