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

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -