Angular 2 ngSwitch nested in ngFor
<p>What is the correct way to use an <code>ngSwitch</code> within an <code>ngFor</code>?</p>

<p>If I do the following I receive the error</p>

<blockquote>
  <p>Got interpolation ({{}}) where expression was expected</p>
</blockquote>

<pre class="lang-html prettyprint-override"><code>&lt;span *ngFor="let action of actions"&gt;
    &lt;span [ngSwitch]="{{action}}"&gt;
        &lt;span *ngSwitchCase='edit'&gt;Edit&lt;/span&gt;
        &lt;span *ngSwitchCase='delete'&gt;Delete&lt;/span&gt;
    &lt;/span&gt;
&lt;/span&gt;
</code></pre>