test(ng-class): Make the ng-class tests compiler agnostic

A better place for this logic may be JQuery.
See #759