Have you considered generating this form html server-side? This way you 
don't have to parse json to generate html. It would also avoid having to 
possible nest ng-repeats.

On Tuesday, October 20, 2015 at 10:22:02 PM UTC-7, sm wrote:
>
> I have to create a 2 column form where left and right side will have 
> different sections/groupsof elements. these sections are created as 
> directives, now i have to place these directives in the form based on the 
> column and postion values that I recieve from the json.
>
> { group:"Group 1",column:1,position:2} then group1 directive should be 
> placed on left side and in the second row of the left column. kindly 
> suggest how to stitch these directives based on the position received.
>
>
> To be more clear a form will have 6 sections 3 on each side(left and 
> right) the sections person details, education, skill set, address, feedback 
> and experience. for each section internally there will be input html 
> elements. Now for each section i have created a directive. by default i 
> know the order in which i have to place each section and in which 
> column.Now requirement is to make directives reusables to create forms 
> dynamically.now i am doing something like <div 
> col-m-6><directive1/><directive2/><directive3/></div> for left part and on 
> similar lines for right side. Now i have to create a form tag which 
> dynamically places these directives based on the json response column and 
> position values.
>

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