I am using angular2 and I want to make a condition to display something
For example, if it will be displayed group.permisions=Can Create File something.
This is my code.
<div class="col-md-9" *ngIf="t?.groups[0].id===Can Create File">
<p class="form-control-static">Can check File</p>
</div>
But I got an error Parser Error: Missing expected ). I do not understand where my problem is.
source
share