SITUATION:
I am making an app in AngularJs that assign permissions. In order to do this i have three nested ng-repeat.
First loop:
I think that the good solution here is to use Angular Directive.
You can see an example of directive used in a ng-repeat here : Angular Directive Does Not Evaluate Inside ng-repeat
For more information on directives, you can check the official documentation : https://docs.angularjs.org/guide/directive