Please, check the following
plunker.
The desired behavior would be:
- clicking on a ng-switched SPAN should toggle a selected class on the UL element and trigger ng-switch SPAN
- entering/leaving a LI should show/hide it's background, independently of the state (selected or not) of the UL and the ng-switched SPAN
I was told on IRC, that in firefox this works as expected (i can not confirm this, since i have no FF installed), but in chrome it looks like the ng-mouseenter/leave callbacks do not get called after once clicking, but the clicks continue to work even after.
Is this a know quirk/feature of chrome?
I'm not interested in solutions involving the restructuring the DOM fragment, since i'm converting an existing html.
Thanks for reading.