Refactored employment editor as an Angular directive, in order to be a reusable web component