recursion-on

recursion-on directive

A directive to add recursion to the ngRepeat directive.

Usage

Add the recursion-on attribute to the element with the ng-repeat attribute. It needs to define the path to the child elements inside the scope of the current item.

Example

<ul> <li ng-repeat="file in files" recursion-on="file.files"> {{file.name}} </li> </ul>

https://github.com/umjasnik/angular-extensions/tree/master/modules/directives/recursion-on

comments powered by Disqus
This page was last updated almost 4 years ago.