I want to animate
background-color on an element only when its parent has a class applied.
The demo I have built is a super stripped down version. We are using Angulars ui-grid to create a table and an active class is applied to a
row when it is clicked, but it’s the child ‘cells’ background that changes. I only want this to animate when the ‘cells’ parent has a class applied.