HTML
<input type="text" ng-list ng-model="OtherHobby" />{{OtherHobby}} <br />
{{AllHobbys}}
Javascript
$scope.OtherHobby = [];
$scope.AllHobbys = $scope.OtherHobby;
I ran a test on this piece of code. The variable "OtherHobby" works as expected, displaying the input from the textbox. However, the variable "AllHobbys" does not show anything. I am puzzled by this discrepancy. Can anyone explain why that might be happening?