javascript - Accessing a form in an Angular-UI uib-tab -


if have form in uib-tab, how access (eg) validate form?

here's plunker: http://plnkr.co/edit/8htccl5hamjwuchetnlq?p=preview

when try access $scope.forminside it's undefined (the form inside uib-tab). if same $scope.formoutside access form validation etc.

the uib-tabset has own scope, forminside on scope of uib-tabset. if use controller-as notation, find correct scope (the 1 of controller):

<uib-tab index="0" heading="tab 1">     <form name="vm.forminside">     </form> </uib-tab> 

see this edited plunker.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -