I am using the [excellent] angular-datatables directive and I need to add a 
row of icons within a cell

There will be single-state, dual-state, and tri-state icons assembled into 
a row and placed within one cell on each row (think edit, open/close, 
delete btns as icons to act upon the row's entity-target.)

I've already got a Controller handling the directive that manages the table

I figure I'll use a Service to encapsulate the info that describes a given 
row of icons (dynamically different depending on your privs) 

Then I'll inject that Service into a Directive to create the DOM that will 
display the requested row of icons

And that DOM will call for a Controller to manage the user's interaction 
with that set of icons

--- am I on the right track ?

-- is there a better way to structure this ?

thanks!

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