i want to change the name displayed on the iteration using ngIf, i am trying to do something like this:
*ngIf="detail.name=='dieselG_d'? detail.name='Diesel Green':Diesel Red
and the console recorded the following error:
Uncaught Error: Template parse errors: