Checkbox directive implemented