Good day, I decided to write a Directive to display a tree but the experience in writing directives is not a lot, so it was decided to apply to the search.
The solution was found immediately:
https://habrahabr.ru/sandbox/75566/
If to write so:
html:
ng-repeat="item in items"
js:
$scope.items = [/*items*/]
then it works,
and if so:
html:
ng-repeat="item in someObj.items"
js:
$scope.someObj = {
items: [/*objects*/]
};
Browser hangs tightly.
Here's the working example:
https://jsfiddle.net/xdevand/zvm7zwu1/
Thank you so much, never needed so never had this problem. - sierra72 commented on June 10th 19 at 17:03