Recursion in Angular directives

Recursion in Angular directives

There are a couple of popular recursive angular directive Q&A’s out there, which all come down to one of the following solutions:

manually incrementally ‘compile’ HTML based on runtime scope state

example 1 [stackoverflow]
example 2 [angular jsfiddles page]

don’t use a directive at all, but a