refactor(field): Refactor directive.