Angular.js ng-repeat across multiple elements

后端 未结 3 2187
情书的邮戳
情书的邮戳 2020-11-30 23:13

This question has been partly addressed here: Angular.js ng-repeat across multiple tr's

However that is just a work-around really, it doesn\'t actually address t

3条回答
  •  [愿得一人]
    2020-12-01 00:00

    To answer Andre's question above on more than 2 levels of ng-repeat in a table, you can use multiple ng-repeat-start to accomplish this.

    
       {{items.title}}
    
    
       {{item.subtitle}}
    
    
       {{value.col1}}
       {{value.col2}}
    
    
    

    Here is a plunker example

提交回复
热议问题