Click here to Skip to main content
15,919,423 members

Comments by Nick Er (Top 1 by date)

Nick Er 2-Jun-16 3:50am View    
What I found on net usually they would do filters like this
<tr ng-repeat="x in $data" | filters:(something here)>

however this code don't do like that and my question is, could you guys who are familiar with Angular give me some tips on how to find the code where it does the filtering, so far I only found the angular code I provided above that have anything to do with the filtering.

i'm new to angular, i'd been given a project code and ask to add features and edit some features, since I couldn't find where's the code that does the filtering I can't edit the function.

when I say the code that does the filtering I mean something like:
if ($data.name.indexOf($scope.eFilters.name) != -1){
......
}