Orderby not working with dict syntax on ng-repeat

前端 未结 6 1978
谎友^
谎友^ 2020-12-06 03:53

I am trying to use ng-repeat with a dictionary style syntax and apply an order to the key value.

(key, value) in something | orderBy:\'key\'

It

6条回答
  •  没有蜡笔的小新
    2020-12-06 04:56

    this is not implemented. please see here:

    https://github.com/angular/angular.js/issues/1286

    EDIT (Aug 27, 2013): this issue seems to be resolved now.

提交回复
热议问题