I am going thru AngularJs tutorial. In step 4 http://docs.angularjs.org/tutorial/step_04 instead of hard coded Select tag I created a JavaScript object just to test.
This is the javascript code I added to controller.js
$scope.sortOptions = [{
"optionValue": "name",
"desc": "Alphabetical"
}, {
"optionValue": "age",
"desc": "Newest"
}];
Now $scope.orderProp = "age" is not working. (which suppose to set default value for the select). I want to know what is issue here.