I have the following data structure for items in my sidemenu, in an Angular app based on a paid-for web site theme. The data structure is my own, and the menu is derived fro
In order to make recursion in Angular, I would love to use the basic feature of angularJS and i.e directive.
index.html
recMenu.html
angular.module('myApp').component('recMenu', { templateUrl: 'recMenu.html', bindings: { menuItems: '<' } });
Here is working Plunker