I have an object upon which I'm using the ng-repeat
directive. I would like to order the repeat directive based on the length of the array, which is inside the iterated object. If the directive is used on an array of arrays, everything works as expected. But I'm using the directive on object containing arrays, and orderBy:'length'
isn't working.
Please see these two fiddles for reference:
Not working on object of arrays
Thanks.