I am using AngularDart where i need to show and hide component based on boolean value registerDisplay. Tried using *ngIf , but throwing an error . Below is the html.
app_component.html:
<div *ngIf="!registerDisplay">
<register-component></register-component>
</div>
What might be the reason. I came across solution for the error in Angular typescript . But that is not applicable to dart. Please suggest .