Call a function inside ngFor in angular2
<p>Hello I am using Angular2 and wanted to fetch the server and get some values for each ID I get inside ngFor.</p>

<pre><code>&lt;div *ngFor="let item in items"&gt;
  &lt;span&gt; here call a function that do something with 'item' and return something new &lt;span&gt;
&lt;/div&gt;
</code></pre>