2013-02-07 19 views
0

大家好我正在跟隨教程與angularjsangularjs過濾器選項也適用於非連續詞

我正在跟隨與手機的官方angularjs教程。

我想知道是否有任何機會,過濾器:查詢選項,可以也做了低谷不NG重複條款

在這個例子中contiguos話: 手機名稱:三星Galaxy Tab 2

搜索過濾器:Samsung Galaxy。結果 - >找到了 搜索過濾器:Samsung Tab。結果 - >找不到

<tr ng-repeat="product in products | filter:query | orderBy:predicate:reverse | limitTo:limit" class="ng-scope"> 
       <td>{{product.id}}</td> 
       <td><img ng-src="{{product.ThumbPictureForIndexing}}" style="width:70px;"></td> 
       <td>{{product.TitlePerIndexing}}</td> 
       <td>{{product.sku}}</td> 
       <td>{{product.Ean_Code}}</td> 

      </tr> 

感謝

+0

請解釋「not contiguos words」的意思。你在想什麼樣的過濾器? – bmleite

+0

我加了一點解釋 – giuseppe

回答

1

我想你會需要編寫自己的「斷言功能」那種過濾/搜索。請參閱docs

相關問題