ngFor show/hide specific item or index

hello everyone i need help on my project
i have a list of Array using ngFor
i want to hide/show the item with index number. using button click event.
i’m using ionic 2 typescript.
is the index and i want to hide nor show. thanks.

You can have a flag in the array on each entities. Whenever any item is clicked, then you can change the flag from true to false and vice versa. Then using ngIf, you can show the items which have flag true

hi sir @akr_rajkumar thanks for the respond im a newbie can you show me sample of code thanks…