ng-repeat with track by and filter and orderBy not working

后端 未结 2 802
萌比男神i
萌比男神i 2020-12-30 23:35

I have this code.

http://jsfiddle.net/0tgL7u6e/

JavaScript

var myApp = angular.module(\'myApp\',[]);

function MyCtrl($scope         


        
2条回答
  •  耶瑟儿~
    2020-12-31 00:08

    To use tracking with filters, the track by expression has to be added after the filter.

    {{ contact.name }}

    Here is the working fiddle

提交回复
热议问题