Access form in modal


#1

Anyone know how to access a form inside a modal? I accessed it with $scope.form by adding name="$parent.form" to the form tag in the modal in the alpha, but I can’t figure out how to access it in the beta.


#2

I don’t think you actually CAN do it anymore. I think we’re stuck with doing this in directives only now with all the scope changes.

See my question here:

Then see these types of questions:



https://www.google.com/#q=angularjs%20access%20form%20in%20controller


#3

I got mine working again. I had to add name="$parent.$parent.$parent.form" to the form. Lots of $parent objects lol, but it worked.