Currently facing a small dilemma. I'm diving into Angular and I've hit a roadblock with the following issue.
I have a repeating list (ng-repeat) where you can click on items to add a jQuery-style class to them:
$('#'+id).addClass("myClass");
The id is stored in a scope variable.
However, when I change the scope for the list items and then revert back to the original state, trying to add the class to the same id doesn't seem to work.
Any ideas on what I might be overlooking?
Appreciate the help!