This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Ng-repeat-start with Ng-repeat causes ng-class, etc to not work #4002
Closed
Description
When an ng-repeat-start/end block is used with another ng-repeat then ng-class, ng-hide etc do not work on the ng-repeat-start block.
Plunkr is here : http://plnkr.co/edit/Hjqpqbuy0nhrTOmCjk36?p=preview
- ng-repeat-start (team level in the example)
- Without ng-repeat: ng-class and ng-hide works
- With ng-repeat: ng-class and ng-hide does not work
- ng-repeat (member level in the example)
- Without ng-repeat-start: ng-class and ng-hide works
- With ng-repeat-start: ng-class and ng-hide works
The workaround is using two ng-repeats, one on tbody to loop through the teams, then create the team row, then loop through the members to create the members rows.