<select ng-if="!isOtherRemarkSelected"
class="form-control m-1" ng-model="selectedRemark.value"
ng-change="handleRemarks()">
<option value="">Select Remarks</option>
<option ng-repeat="obj in remarks track by $index"
ng-value="{{obj}}" ng-bind-html="getRemarks(obj)">
</option>
</select>
The above code is working fine but after adding Angular 17 web components javascript files in index.html getting below error on select the remarks
Syntax Error: Token 'Object' is unexpected, expecting []] at column 9 of the expression [[object Object]] starting at [Object]].
Here is a working example for your reference, as you can see there is no need for
ng-bind-htmlsince it is required for inserting html, even then you can achieve the same html logic with hardcoding the html along with string interpolation.Since you have not provided the data, I am unable to replicate the issue you have asked in the question!