Working checkbox directive.