Hi Mohamad,

ngRepeat creates a new scope, for each of its iterations. outside that 
scope, This means that your filtered only has a meaningfull content inside 
the repeat.

  <div>
                <div ng-repeat="group in groups">
                    Filtered Count :{{filtered.length}}
                    <div ng-repeat="letter in  filtered = (group.letters | 
filter:filters.search )  | orderBy:orderByAttribute:sortReverse ">    
                    </div>
                </div>    
            </div>

Give that a shot.

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