AngularJs code to display the selecting div content:
<select>
<option value="0">--Select--</option>
<option value="1">Individual</option>
<option value="2">Business</option>
<option value="3">Others</option>
</select>
If option Individual
is selected, it must show the div content with
<div id="individual">
.
.
.
</div>
If option Business
is selected it must show the div content with
<div id="business">
.
.
.
</div>
If option Others
is selected it must show the div content with
<div id="others">
.
.
.
</div>
Can anyone refer me to any tutorials or link?