I am relatively new to Angular and this my first attempt at using a custom directive. I have a table I am working with and each cell has a data attribute. For example, "data-dept="service", and I would like to access this value before overwriting it with a directive. In my directive, I have set template = true, and this removes my data attribute.
I liked my website that I am working to better explain what I am attempting to do. http://partnerportal-preprod.automate-webservices.com/list/#/hoursTable The cells inside the table in the first row are clickable, but I would like to know if the user is clicking on service for example. <-- Update --> I created plunker to better illustrate my problem. I have a basic table that I am using a directive to replace a row in the table. In doing so, I lose the attribute that I would need to set it as a key in my object for later use. `http://plnkr.co/edit/oXRM6lRkidnAHfBA4GsR?p=preview` -- 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
