Tom,

It depends, if you have a really large data-set, that might not be the 
right way to go. You need to do the math! Measure your dataset, and then 
decide. 
Need to run on mobile? there memory is a scarce resource. Running on 
desktop systems, go ahead and use whatever you need! But be aware of the 
memory usage. If your browser runs out of memory, your entire application 
will drop dead without any notification. Scripts will just stop running. 
I referenced it as an sample on how to make a custom filter. And it is of 
course just sample code, I wrote is as an answer on a different question. 
They had a 'messy' data-set and using the flattening trick, I didn't have 
to traverse all the sub-sub-sub objects.
If you have an simpler data-set, you don't need to flatten at all!

Regards
Sander

-- 
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/groups/opt_out.

Reply via email to