Hi Tobiah:
I realize that I may have mislead. Let me be more explicit about my issue.
I have an Array, $scope.array. Within the array, there are objs w/ props.
I.e., $scope.array[arbitrary-n] = {prop1: '1', prop2: '2'...,
propN-1:'n-1'};
<div ng-repeat="obj as obj.prop1 for obj in array | orderBy:'+prop2' track
by obj.propN-1>
<span ng-bind="...(to some obj.prop)..." />
<p>Blah blah blah {{obj.someOtherProp}}</p>
</div>
I use other properties of the obj during the repeat. Thus, the question
is, how does one continue to iterate over the Array of objects, but sort
them using a custom sorter based on a sub-object property. Sure, I could
manipulate my actual data on the scope, but I have a hunch I don't need to
do that. Not that it would be a huge deal, but it doesn't feel too
angular-esque! :) Perhaps I'm just a dreamer...
Also, looks like your server is down :(
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.