tener registration
should be done in a linking function rather than in a compile function.
</div>

<div class="alert alert-warning">
<strong>Note:</strong> The compile function cannot handle directives that recursively use themselves in their
own templates or compile functions. Compiling these directives results in an infinite loop and
stack overflow errors.

This can be avoided by manually using $compile in the postLink function to imperatively compile
a directive&#39;s template instead of relying on autom