AngularJS Group By Directive without External Dependencies

前端 未结 9 969
长发绾君心
长发绾君心 2020-11-29 01:01

I\'m new to Angular and would like to learn the best way to handle a problem. My goal is to have a reusable means to create group by headers. I created a solution which wor

9条回答
  •  再見小時候
    2020-11-29 01:18

    try this:
    
    
    
      
      Example - example-example58-production
    
    
      
    
    
    
    
    
        
      
    {{friend.age}}
    {{friend.name}} {{friend.phone}} {{friend.age==friendx[$index].age}}
    enter code here [http://plnkr.co/edit/UhqKwLx1yo2ua44HjY59?p=preview][1] [1]: http://plnkr.co/edit/UhqKwLx1yo2ua44HjY59?p=preview

提交回复
热议问题