title: Loop through array of strings - angular2
body: <p>Yet very basic thing, but I am unable to figure out how to display array of strings in html template in angular2.</p>
  
  <p>.html</p>
  
  <pre><code>&lt;ul&gt;
         &lt;li *ngFor="#number of numberOptions"&gt;
            {{number}}
         &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>.ts</p>
  
  <p><code>this.numberOptions= ["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X"];</code></p>
  
  <p>The above trick is not working for me, text editor shows error for <code>#number</code> in <code>ngFor</code>. Is this deprecated in new versions? or am I doing anything wrong here?</p>