AngularJS Directive for a Tri State Checkbox.