Here I've used ngModel in the dropdown so, that you can get the value which you've selected from the dropdown.
and in Ts file, you need to declare one variable called optionValue like this:
`optionValue`;
and now you can use ngIf for show/hide Divs.
Div1
Application Name is required!
Div2