javascript - NG directives not working inside a ng-repeat that is inside another ng-repeat -


so have ng-repeat that's inside ng-repeat. tried use ng-class ng-hide , ng-show it's not working in child ng-repeat. work inside parent. example:

<div class="product" ng-repeat="item in category.products">      <h2 class="product-name">{{item.name}}</h2>      <ul class="product-variety">         <li ng-repeat="variation in item.variations" class="{{variation.name}}" ng-hide="true">{{variation.name}}</li>     </ul>  </div> 

the li ng-hide not work. how make work?


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -