Angular JS access form in scope inside Angular Bootstrap tab
问题 I have a form in an Angular JS 1.4.1 prototype. I have a class on it set when it's dirty. I am trying to simulate someone "saving" the form, and therefore it's not dirty, it's "saved" so the changes are still present, but no longer dirty. Form fragment: <div class="override"> <tabset> <tab heading="My Tab"> <form name="overridesForm"> <p><input ng-model="rd.isOverriden" type="checkbox"> Foobar</p> <div class="buttons save-cancel"> <button class="btn btn-default btn-xs" ng-click="overridesForm