Running example here:

  http://tobiah.org/pass.html

Open the javascript console and click the two
sentences.  When I pass an expression, I can
view source and see that {{bit}} is being expanded,
but in the ng-click handler, I get passed the actual
string "{{bit}}".  Also, I'm used to passing _this_ so
that a handler can get a reference to the DOM object.
In this case I get a big object:

a.$$childScopeClass.$$childScopeClass {$$childTail: null, $$childHead: 
null, $$nextSibling: null, $$watchers: Array[1], $$listeners: Object…}

so I'm left with no way to identify the element that
caused the handler to be triggered.  What is the
angular way to do this?

Thanks,

Tobiah

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