The following is an example.
<li ng-repeat=“phone in $ctrl.phones | filter:$ctrl.query | orderBy:$ctrl.orderProp”>
<span>{{phone.name}}</span> <p>{{phone.snippet}}</p>
</li>
For more information: https://docs.angularjs.org/tutorial/step_06
Solutions for developers
The following is an example.
<li ng-repeat=“phone in $ctrl.phones | filter:$ctrl.query | orderBy:$ctrl.orderProp”>
<span>{{phone.name}}</span> <p>{{phone.snippet}}</p>
</li>
For more information: https://docs.angularjs.org/tutorial/step_06