How to set expression value to typescript local variable in HTML template I am trying to assign expression value to the variable like this:
<span *ngIf="IsRangeValidate = !(section.FOFormFieldList[fieldIndex].FOFormFieldResponseText>=fieldInfo.MinVal && section.FOFormFieldList[fieldIndex].FOFormFieldResponseText<=fieldInfo.MaxVal)" class="text-danger">Value should be between {{fieldInfo.MinVal}} - {{fieldInfo.MaxVal}}</span>
The expression will return true/false value. IsRangeValidate is TypeScript boolean variable and I want to assign expression result to this variable from HTML template