Small directive to replace a checkbox