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 -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -