, . ng-include . "" . onload, ng-init, ng-model .., ng-repeat, , .
Plunker. , , , . , ng-repeat . . , , , ..
( ):

JS ( )
$scope.data = {
text: "blah",
comments: [
{
text: ["blahL11", "blahL12", "blahL13"],
comments: [
{
text: ["blahL111", "blahL112", "blahL113"]
},
{
text: ["blahR111", "blahR112", "blahR113"]
}
]
},
{
text: ["blahR11", "blahR12", "blahR13"]
}
]
};
HTML (root)
<ul>
<li>{{data.text}}</li>
<li ng-repeat="item in data.comments" ng-include="'tree.html'"></li>
</ul>
()
<div>Child</div>
<ul>
<li ng-repeat="text in item.text">{{text}}</li>
<li ng-repeat="item in item.comments" ng-include="'tree.html'"></li>
</ul>