EDIT: Here is the plunker to this topic: (http://plnkr.co/edit/yDPEBPgvBCEKXQiwEjoh?p=preview)
I've some nested data-structure in my controller.
A
a
1
2
b
1
Via ng-repeat I get a and b (I only need their length).
Via ng-includ I include a second ng-repeat in a partial file.
This partial file should get the next node in the structure (e.g. 1 & 2).
How can I pass to my partial file the part of the desired model?
Here is the plunker to this topic: (http://plnkr.co/edit/yDPEBPgvBCEKXQiwEjoh?p=preview)
You are missing the single quotes while including template partial, because of which your template is not rendering.
<div ng-include="'_roles.html'"></div>