Javascript 角度滤波器不';行不通

Javascript 角度滤波器不';行不通,javascript,angularjs,Javascript,Angularjs,试图使过滤器通过大量的对象 <input type="text" ng-model="search.name"> <input type="text" ng-model="search.contact"> <input type="text" ng-model="search.company_phone"> <input type=&q

试图使过滤器通过大量的对象

<input type="text" ng-model="search.name">
<input type="text" ng-model="search.contact">
<input type="text" ng-model="search.company_phone">
<input type="text" ng-model="search.address">
<div class="matrix_container">
<div class="matrix">

    <div ng-repeat="row in search_result track by $index | filter:search">
        <div class="properties">{{row.name}}</div>
        <div class="properties">{{row.contact}}</div>
        <div class="properties">{{row.company_phone}}</div>
        <div class="properties">{{row.address}}</div>

    </div>
</div>

{{row.name}
{{row.contact}}
{{row.company_phone}}
{{row.address}}
有一条关于错误的信息

错误:[筛选器:notarray]

搜索结果的类型是obejct,但正如我在js object=array中所知道的,不是吗

console.log(搜索结果)


按$index跟踪应在最后应用,因此应如下所示:

ng-repeat="row in search_result | filter:search track by $index"

见此

应在最后应用$index跟踪
,因此应如下所示:

ng-repeat="row in search_result | filter:search track by $index"

查看此

错误链接说明..
当筛选器未与数组一起使用时会发生此错误:
,因此确认
搜索结果
是否为数组?是的,对象数组。post
搜索结果也在qstn中。@anoop已完成)错误链接说明..
当筛选器未与数组一起使用时会发生此错误:
,因此,确认
search\u result
是否为数组?是的,对象数组。也在qstn中发布
search\u result
。@anoop已完成)是!非常感谢对非常感谢