Angular JS | Auto populate one dropdown based on other dropdown value change source code Angular JS

State you have selected is : {{tempUser.state}}

Capital of the state you have selected is :{{capital}}