I need to set a css class on the outer most ng-form, if for any of the children, grand-children ng-form, $invalid is true.
I have a plunker to check with this problem.
http://plnkr.co/edit/CDyBbZs3GAUrEfBrap8G?p=preview
has anyone tried this? any pointers?
Thanks.