Modal Form Access in Beta


#1

Does anyone know how to access the form in a modal from the parent controller? I had it working before the Beta, but after upgrading to the beta it no longer works.

Here is my opening form tag:

<form role="form" name="$parent.$parent.form" ng-submit="save()">

Here is the code in my controller that no longer works:

$scope.form.$setPristine();

#2

I am having this issue as well, anyone have any ideas on getting around this? Really frustrating not being able to clear the validation