angularjs - Can't keep the array order with orderBy in ngRepeat -
i'm totally stucked issue.
i've got array returned in specific order server , display items through ngrepeat
.
i keep same order array's order @ beginning can't. automatically sorts array id.
ng-repeat="item in filtered = (items | orderby:predicate:reverse)"
when loaded, need keep same order array returned server.
what wrong here ?
Comments
Post a Comment