Hi Mark, How about using the $target of the event?
For example: http://plnkr.co/edit/TJlbROcW8BISpD5LubkZ?p=preview Regards Justin On Friday, October 31, 2014 9:58:19 PM UTC+2, mark goldin wrote: > > I m trying to implement a click and have code acting upon. > My question is - how can I access the clicked object in my click handler? > So far all I am getting is an html element or something. But I need a > reference to an object. Like if a grid was clicked then I need to access > its selected value and so forth. > > > Thanks for help. > -- 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.
