I am trying to format the option text based on certain condition. I have tried several ways but doesn't seem to be working. For a workaround I could use jquery and populate the option list based on condition but trying to do it without adding more code. Any help would be appreciated. Thanks in advance.
<option value="fooditem_size1">{{selectedFoodItem.fooditem_size1_name}} 
  <span ng-if="selectedFoodItem.fooditem_size1_price > 0"> + 
       ${{selectedFoodItem.fooditem_size1_price}}
  </span>
</option>
 
    