I have two forms:
<div ui-view="form1">
<form name=form1> </form>
</div>
<form name=form2> </form>
How can I access validation status of first form (which is in child scope) in second form? For example I need to disable 'submit' button for second form if first form is $invalid.
Thanks