title: How to update field values in angular based on condition in angularjs v1
body: <p>I have two fields field 1 and field 2 . Field 1 values are yes or no. If field 1 is yes, then i want to update field 2 to some static text( AVAILABLE) .If field 1 is No, then i want to update field 2 as NOT AVAILABLE. How to achieve this?</p>