Recursion example

The main point to understand is that PURE compiles the HTML template into a JS function (rfn in the example below)

And you can call this function in any of the function directive as they can be closures.

If you call the template within itself we have a recursion.

Here is an example: