restore active flag from data
emulate ngClass since it can't be used (on the tr) in this directive's template