标签: angularjs
我有一个像这样返回json对象的API
"keyStoreTypes":{"NONE":"None","JKS":"JKS","PKCS12":"PKCS12"}
但是$ resource.get会像这样自动排序
$resource.get('/to/url').$promise "keyStoreTypes":{"JKS":"JKS", "NONE":"None","PKCS12":"PKCS12"}