# Angular filtring issue

**URL:** <https://forum.ionicframework.com/t/angular-filtring-issue/28670>\
**Category:** ionic-v1\
**Created:** [July 19, 2015, 12:52am UTC](https://forum.ionicframework.com/t/angular-filtring-issue/28670 "2015-07-19T00:52:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![medhoover](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/medhoover/32/13560_2.png) [@medhoover](https://forum.ionicframework.com/u/medhoover)\
**Post date:** [July 19, 2015, 12:52am UTC](https://forum.ionicframework.com/t/angular-filtring-issue/28670/1 "2015-07-19T00:52:33Z")

</div>

Hello and thank for the Great framework !.  
So I’m building a simple app that get product details using rest and I am using angular filter option to search the products.  
The problem is that the filter works great when I am on the top of the page, however when I slide down the filter skips results and only shows the first matched elements and ignores the rest, thus us really wired.  
Until this point, I only tried it on chrome so i have no idea on how it really works and platforms.  
Anyway here is my view :

```
<ion-view view-title="Dashboard">

```

 Annuler 

```
<div class="list card" ng-repeat="produit in produits | filter:searchText | orderBy: index">
  <div ng-switch on="{{produit.estAutorise}}">
    <div class="item item-autorise" ng-switch-when="1">
          <h2 class="title"><b>{{produit.marque}} </b>{{produit.name}}</h2>

```

And this is my services.js structure:

.factory(‘Recettes’, function() {

var data = [];  
data.recettes = [];

data.produits = [

```
{
  "index": 1,
  "isActive": true,
  "estAutorise": 0,
  "name": "Howard Price",
  "marque": "in"
},
{
  "index": 2,
  "isActive": true,
  "estAutorise": 1,
  "name": "Ingrid Saunders",
  "marque": "amet"
};

```

…  
]});

I appreciate you help, thank’s !:
