So I'm completely new to front end (angular, bootsrap, etc), but I have here a JSFiddle link that I created, and what I am trying to do is basically if someone chooses the option VA in the drop-down menu, I want to use the appropriate ng (switch or show), and show the div class with the same name, in this case the div class=VA
If they choose NY, I want it to show the div-class=NY, and not the VA div (in my example I only have two options, but I will have around varying options in my actual program (could be ~10)
Can anyone help me or put me in the right direction? Thanks.
JSFiddle link: http://jsfiddle.net/BootstrapOrBust/kw3qgL3f/
<section ng-controller=Ctrl as loc>
<select class=form-control>
<option>Choose Place</option>
<option value=DC>DC</option>
<option value=NY>NY</option>
</select>
</section>
...
...
...
<div class=DC>
<table class=table>
<thead>
<tr>
<th>Location</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href=#>Metro</a></td>
</tr>
<tr>
<td><a href=#>Capital</a></td>
</tr>
</tbody>
</table>
</div>
<div class=NY>
<table class=table>
<thead>
<tr>
<th>Location</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href=#>Subway</a></td>
</tr>
<tr>
<td><a href=#>Yankees</a></td>
</tr>
</tbody>
</table>
</div>