Orderby works when the page first loads, with the default value set in scope. But then value for the Order By changes, the sort order does not change. The option selector does assign the correct value upon selection and I have verified that. But no change in the sort order.
Here is how I have my select options defined:
<md-toolbar>
<div>
<section layout-align="end center" layout="row" flex="40">
<md-input-container>
<md-select ng-model="sort" placeholder="Sort By" class="md-no-underline">
<md-option value="talkingAbout.projectedTA">Risk</md-option>
<md-option value="talkingAbout.talkingAbout">Talk</md-option>
<md-option value="name">Name</md-option>
<md-option value="age">Age</md-option>
</md-select>
</md-input-container>
</section>
</div>
</md-toolbar>
Here is how my ng-repeat is defined.
<div ng-repeat="d in data | filter:user.name | orderBy: sort track by d.name" flex>
The value for sort is set, when the option is selected, but does not reflect in the orderby.