Hi Andrew,

>From reading your code, it seems that you are building the table from the 
data you have in your scopes. 
This means you can so something like:

filterFilter(someArray, myFilterValue).forEach(addContentToDocDefenition)

This becomes easier if you switch over to the new way of using controllers 
without using scope, but it can be done with scope also!
(if you want to find out why and how then you have to read the styleguide 
<https://github.com/johnpapa/angular-styleguide>) 

Regards
Sander

 

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" 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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to