Factory for editable field directives.