How to change the button in card view


#1

HI guys i want to change the icon into shaded one and i dont know how to do that in card view cuz when i set it: (code snippet)
image

image

i do this and all the like buttons in the card view will change i only want to change the one i clicked, can you pls help me??? any suggestions, guides is appreciable :slight_smile:

image


#2

I suggest posting text as text, not images.


#3

Hi

Use [] instead of {{}}
Your ngif evaluates to true per definition

Check angular doc on binding and structural directives.

At least two issues with your code

Rgards
Tom