An Angular filter to order an object of objects by a given attribute on the children objects
npm install angular-order-object-byThis filter was created by Justin Klemm because the default Angular orderBy filter fails to sort properly Objects of Objects in the context of ngRepeat.
Install as Bower dependency: ``bower install angular-order-object-by`.
Include on your Angular module's dependencies:
`javascript`
angular.module('YourModule', ['ngOrderObjectBy'])
Then, in your application views:
`html`
Thanks to @diegou work now sorting by children's sudocument's properties is supported:
`html`
For an example see test/index.html.
You need karma, karma-cli, karma-jasmine, phantomjs, karma-phantom-js-launcher and angular-mocks in order to run the tests.
`karma start karma.conf.js ``
Feel free to fork, and submit your pull requests using a feature branch on your fork.
Don't forget to add tests! :wink: