score:1

I am not sure why you adding event dynamically. and that is the problem its loosing its this reference.

this will be different for both d3 and Angular

I would suggest try not use dynamic event binding, better use click event and pass $event

checkout this post hope it helps


Related Query