refactor directive in order to call with its own html element instead of inside a div. Remove the replace instruction in the directive