Access index of the parent ng-repeat from child ng-repeat

后端 未结 6 700
不思量自难忘°
不思量自难忘° 2020-11-28 19:43

I want to use the index of the parent list (foos) as an argument to a function call in the child list (foos.bars).

I found a post where someone recommends using $par

6条回答
  •  情深已故
    2020-11-28 20:04

    My example code was correct and the issue was something else in my actual code. Still, I know it was difficult to find examples of this so I'm answering it in case someone else is looking.

    
    

提交回复
热议问题