latin-language-toolkit/arethusa — pull request #183 by LFDM (2014-06-17 11:37:57+00:00)
Title: Filter for ngRepeat with objects

A solution to #52

`ngRepeat` aggressively sorts the keys of objects alphabetically - there is a reason for this. It's an overty cautious approach to cross-browser compatibility, as it is said that an order of object properties cannot be guaranteed across different browsers.

Generally this seems to work fine - if there are exceptions, we might just ignore them. Usually we want the order of our object properties just the way they are - for the creation of a morphological form it's almost imperative to have this (the one example in this PR shows code to do just that).

There are more places in this program where this could be used, changes to them will come over time. This PR should serve as a blueprint on how to do it.