Friday, April 25, 2014

angularjs display values in selectbox, in sorting order

<select ng-model="selected" ng-options="f.name for f in friends | orderBy:'name'"></select>

No comments:

Post a Comment