I'm using AngularJS version 1.0.5 and Angular UI (Bootstrap) 0.4.0. I'm trying to integrate 2 features: the tabs of the UI and the forms of Angular.
I have nested forms. One form (outerForm) wraps the whole tabset. The other form (innerForm) resides within one tab.
I want to have a button, outside of the tabs, that will be enabled\disabled according to the validity of the innerForm!
When I try to access innerForm.$valid from outside the form itself, it does not work.
Here is a plunker: http://plnkr.co/edit/sEz8TG?p=preview
Now, when I try the same with regular Bootstrap, it does seem to work: http://plnkr.co/edit/Somic4?p=preview
When the inner form resides within a regular div, I can access it from outside. When I use the special 'tab' syntax of Angular UI, it does not work anymore.