I have been working with a select option box. I am able to get it to work and print the selected option correctly independently but inside my application it just would not work.
<select ng-model="selected1" ng-change="operateOnOptions()">
<option value='1'>TOPPER</option>
<option value='2'>RSC</option>
<option value='3'>SPD</option>
<option value='4'>SFT</option>
<option value='5'>LMP</option>
</select>
And my controller is
$scope.operateOnOptions = function(){
console.log($scope.selected1);
};
Now inside my application this will not work no matter what and keeps on printing
Object {$$hashKey: "00S"} What does that weird thing mean??