Exploring Nested Recursive Directives using ng-repeat. I came across
Developing Nested Recursive Directives in Angular
I am interested in customizing the data of level 2 UI template on my own, instead of simply recalling or re-rendering the same template.
For instance
<ul>
<li>
<div>Europe</div>
<!-- Customize by myself the UI of level 2 -->
<ul>
<li>
<div><img src="italy.jpg" /></div>
<div>Italy</div>
</li>
</ul>
</li>
</ul>
How can I adjust the Directive link function to add a new template to level 1