Hi Sander, Because I need to perform an action on a specific element, that element being defined by a directive parameter, when the user interacts with another elements. E.g. when the user interacts with the first span [my-directive='1']', perform an action on the third span [my-directive='3']. And the third span may be generated by ng-repeat.
It doesn't necessarily need to access the raw DOM element, it can interact with its my-directive bound to that element as well. perjantai 13. tammikuuta 2017 9.58.48 UTC+2 Sander Elias kirjoitti: > > Hi Esa, > > Why do you want to get a hold of the raw DOM element? In an angular app, > most of the time if you need one there is a more efficient angular way of > doing the same thing, without the need to touch the DOM at all. > > Regards > Sander > -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to firstname.lastname@example.org. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.