Angular noobie here. I would like to know what is the best way to change the dom when a value in the scope changes by some means. I read that its not good to put the dom manipulation logic in the controller and thats the job of directives.
Here is a plunkr
http://plnkr.co/edit/xWk5UBwifbCF2raVvw81?p=preview
Basically when the data changes by clicking the load data button in the plunkr above, i want the cells whose values changed to highlight automatically. I cant get it to work for the life of me.
Any help?
See Question&Answers more detail:os