Bootstrap data-toggle breaks ng-show and vice versa
问题 I have a form switcher using two radio buttons: <form> <div class="btn-group"> <div class="radio"> <label class="btn btn-info"> <input type="radio" name="formSwitcher" id="gNr" ng-model="vm.formSwitcher" value="gNr" /> Form for new G </label> </div> <div class="radio"> <label class="btn btn-info"> <input type="radio" name="formSwitcher" id="pNr" ng-model="vm.formSwitcher" value="pNr" /> Form for new P </label> </div> </div> </form> <div ng-show="vm.formSwitcher == 'gNr' "> <form> ... </form>