AngularJS Video: Create A Tree Hierarchy Using Recursive Templates & ng-include
Link opens in new tab
Thanks for your support -- It does make a difference
Hello again and welcome to another Angular.JS video. This time I talk briefly about templates in AngularJS and the ng-include directives, and how to combine them to create recursive templates that can be used to model any number of tree levels.
Here’s the video. Check the code snippets belows:
The Code
In this demo, I used a dummy controller just to have a model to work on, the controller looks like that:
As a bonus for coming here, I'm giving away a free newsletter for web developers that you can sign up for from here.
It's not an anything-and-everything link list. It's thoughtfully collected picks of articles and tools, that focus on Angular 2+, ASP.NET (4.x/MVC5 and Core), and other fullstack developer goodies.