The Angular version being used is 1.4.7.
Within the model in question, there are two objects: 'systems', which is an array, and 'selectedSystem'. The desired outcome is for 'selectedSystem' to reference one of the objects within 'systems'. Initially, this works as expected when the page loads. However, upon making a selection from the first dropdown, it appears that 'selectedSystem' becomes a copy rather than a reference to the original object in 'systems'. As a result, any changes made to the second dropdown are no longer reflected in 'systems'.
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
...
</div>
</div>
</body>
</html>
TypeScript Code:
// TypeScript code goes here
...
The behavior described above raises questions regarding the angular model binding. Is there a way to achieve the desired behavior with angular model binding?