Hi,
I've created a small app that displays a table with data.
My data looks like this:
{"title1": [data1, data2, data3, data4, data5],
"title2": [data1, data2, data3, data4, data5],
"title3": [data1, data2, data3, data4, data5]}
Each "title" is a row in the table.
This is simple enough using ng-repeat.What I'm now trying to do is the following: 1) Remove one line from the data (i.e. title2 for instance). 2) Randomize the order that the title appear on the table. This seems like something that filters could be useful for, but I just can't get the hang of it. Here's my plunkr: http://plnkr.co/edit/xrsA8fUibLXyBxrCDsIj?p=preview The issue is, that the filter causes infinite digest loops until angular aborts the operation. In addition, every click on the table, causes the filter to rerun. Why is this happening? What would be the way to do this? Thanks -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
