angular.js
angular.js copied to clipboard
Parent Form not able to evaluate dynamically generated nested forms
I have created a parent form, and within it created dynamically generated nested forms using a directive.
The parentForm.$error object is able to evaluate errors that are immediately within the form and even within a nested form; however, the parentForm.$error does not see any of the errors that are generated for DYNAMICALLY GENERATED nested forms.
I've created a plunker to demonstrate:
http://plnkr.co/edit/zgQkSzpc9Qcvtm26nlSv?p=preview