I cant seem to figure out how to change the class with a checkbox value. I can show/hide a class but I need a col-md-6 to change to a col-md-12. I have a map and a chart on the same row. I would like to be able to hide the map and make the chart the full width of the row. And vice versa
<div ng-app>
<div >
<input type="checkbox" ng-true-value="A" ng-false-value="B" ng-model="check"/>
</div>
<div class="col-md-6" style="background-color:yellow">
hide me if checkbox is true
</div>
<br/>
<div class="col-md-6" style="background-color:pink">
change me to col-md-12 when checkbox is true
</div>