Here's the situation I am dealing with:
<input type='text' ng-model='SampleDTO'>
<input type='text' ng-model='SampleDTO2' ng-disabled='SampleDTO == null'>
The issue arises when I input a value for the first input and then another value for the second. If I remove the value from the first input, the second input gets disabled. However, when I pass these values to the controller, the disabled field is also included. How can I ensure that disabled fields are not passed to the controller?