Hi,

I have written a framework before for auto generation of forms using json. 
All the forms are generated dynamically at run time.
Now I'm trying to integrate AngularJS in it. I am quite new to ngJS.

When you have elements like input, select and textarea in form of array, 
how do you write individual element as in ng-model name or etc.

For example:
<input type='text' name='name[]'>
<input type='text' name='name[]'>
<input type='text' name='name[]'>

or

<input type='text' name='data[0][age]'>
<input type='text' name='data[1][address]'>
<input type='text' name='data[2][telephone]'>

Here is my jsfiddle:
https://jsfiddle.net/kLvb7wbu/

Bottom line is how do define ng-model name?

Cheers

Prashant

-- 
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.

Reply via email to