I want to display the elements of a list thanks to a ngSwitch
but I can't figure out how to do with a ngRepeat
. I've begun by doing it without a list, just to understand how ngSwitch
works and to show you what I want to do, here's a jsFiddle that will help you understand: jdFiffle 1
Then, I try to use a list with ngRepeat
but, whatever I try to do, it doesn't work. Here's a second jsFiddle with, this time, the use of a list: jsFiddle 2
It seems that ngClick
and ngSwitch
don't work when they're inside a ngRepeat
... How can I do to make things work? Thanks in advance!