title: Angular 2 - Pass variable to ng-template
body: <p>I have this ng-template. Everything works with the loop. The only problem is that i can't pass the "title" variable with the "let-title".</p>
  
  <p>What's wrong with my syntax? Do I need the asterisk to *ngIf?</p>
  
  <p>"selectPerm(title)" doesn't work. It is always undefined.</p>
  
  <pre><code>&lt;ng-template ngFor
               let-perm
               let-title="permission.title"
               [ngForOf]="permission.data.permissions"
               *ngIf="editForm.controls.permissions.controls[permission.data.id].value == '0'"&gt;
               &lt;tr&gt;
                  &lt;td&gt;&lt;/td&gt;
                  &lt;td&gt;{{perm.name}}&lt;/td&gt;
                  &lt;td&gt;&lt;label&gt;Allow: &lt;input type="radio" value="1" formControlName="{{perm.id}}" (click)="selectPerm(title)"&gt;&lt;/label&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;label&gt;Deny: &lt;input type="radio" value="-1" formControlName="{{perm.id}}" (click)="selectPerm(title)"&gt;&lt;/label&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;/td&gt;
               &lt;/tr&gt;
  &lt;/ng-template&gt;
  </code></pre>