The compile function is used to perform any DOM transformation before the link function runs.
The compile function is used to perform any DOM transformation before the link function runs.
The element on which the directive is applied.
The normalized list of attributes declared on the element.