AngularJS Color Contrast Directive