ngTemplateOutlet:无法分配给引用或变量

Vic*_*röm 5 nativescript angular2-nativescript angular

使用ngTemplateOutlet和context时:

<ng-container *ngTemplateOutlet="template; context: Context"></ng-container>
Run Code Online (Sandbox Code Playgroud)

上下文数据:

this.Context = {
        $implicit: this.userName,
        'password': this.password,
        'Login': this.Login,
        'Register': this.Register
    };
Run Code Online (Sandbox Code Playgroud)

不能绑定2路绑定,这是一个限制还是我做错了什么?

<ng-template let-username #loginpage> 
<TextField class="input" hint="Email" keyboardType="email" [(ngModel)]="username"></TextField> 
</ng-template>
Run Code Online (Sandbox Code Playgroud)

我收到此错误:

ns-renderer:无法分配给引用或变量!