Hi Migo,
Where are those bunchesof_columnsettings coming from? If you get those from
an outside resource, you can move it to a service.
If you are typing them manually into the controller, I would suggest moving
them to the template something like:
<griddirective ..>
<column seting1='..'setting2='...'></column>
<column seting1='..'setting2='...'></column>
<column seting1='..'setting2='...'></column>
...
</griddirective>
Those column directives just add their data ti the griddirective’s
controller. When all is set up, the griddirective can replace the template
with the grid!
This is just one way to go, there are numerous other solutions to this!
Regards
Sander
--
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/groups/opt_out.