Hi everyone!

I have run into a scoping problem when creating click functions on the 
nodes of my graphs built using Angularjs, Highcharts and the highcharts-ng 
directive.

The problem I am having is that any angular directives or functionality I 
place in my click function does not work.

Here is a simplified version of my problem - http://jsfiddle.net/47m46/8/

Once you click on a graph point/node html is generated which includes a 
button element with an ng-click directive placed on the button. However the 
function called in ng-click does not run and I have noticed no angular 
functionality generated by my highcharts click function works. 

The author of the highcharts-ng directive mentioned in the following thread 
<https://github.com/pablojim/highcharts-ng/issues/56> that *"These events 
(click function) will be outside of the angular world though so you'll need 
to wrap them with an apply or similar."*

So my question is: How do I place the functionality set in my highcharts 
click function inside of the angular context?

Kind Regards

An Angular learner driver 


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