Django distinguishes between bound and unbound forms. In bound forms, fields are rendered with values, often from a previous unsuccessful attempt of posting the form. In unbound forms, the values of form fields are empty.
There is a problem when using bound forms in AngularJS, since the pre-rendered values are not visible for its fields. Currently I use a custom directive named "form", which resets the field with its default value using $setViewValue. Questions: 1. Is it good practice to add another directive named "form" to a custom Angular module, and if, which priority shall this directive have? I currently use -1. 2. Do I assume correctly, that the terminology "bound form" is somehow Django specific und thus not used by Angular developers? a. If NO, is there a way in AngularJS to find out, if a form is bound or not? -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
