I am fairly new to angular. I have a 'default' grid directive which I pass
the column options to via an attribute. My controller/template contains
multiple grids - I'm just trying to figure out the best place to store the
column configurations as presently I have placed them into my controller
but with multiple grids this is making the controller quite large
[controller]
{bunchesof_columnsettings}
{anotherbunchesof_columnsettings}
{evenmorebunchesof_columnsettings}
[html template]
<griddirective columns=bunchesof_columnsettings>
<griddirective columns=anotherbunchesof_columnsettings>
<griddirective columns=evenmorebunchesof_columnsettings>
I'm also open to suggestions if these grids should be moved to their own
partials or something of that nature.
--
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.