Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

294
Views
ngTemplateOutlet: Cannot assign to a reference or variable

When using ngTemplateOutlet and context:

<ng-container *ngTemplateOutlet="template; context: Context"></ng-container>

The context data:

this.Context = {
        $implicit: this.userName,
        'password': this.password,
        'Login': this.Login,
        'Register': this.Register
    };

can't be bound to a 2 way binding, is this a limitation or am i doing something wrong?

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

I am getting this error:

ns-renderer: Cannot assign to a reference or variable!

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!