Here's a plunkr to show what I'm after:

http://plnkr.co/edit/4goMGIoeCHIrRQrzCOs2?p=preview

Works, except for the last step. Basically, it's a few categories with 
options under each that are toggleable (by clicking them) between three 
states.  inactive (grey), active (green), active false (red).  Right now, 
this works.  You can hit each category and set the state of each line by 
clicking.

I need a way to update the textarea with the values from the individual 
shorcutFull directives, but since I'm super new, I'm not sure how to do it. 
 Or the best way.  Any help would be very appreciated.

Also, is there a better way to do the toggleShortcut function in the 
shortcutFull directive?  That if statement seems pretty hacky.

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