The best way to integrate AngularJS and D3.js is through the directive. >From my observation, many people did all the D3 operations inside the link function, instead of compile. But when I read about the difference between link and compile, it is stated that for DOM manipulation, you usually do it in compile. If you do it in link, it may not appear correctly as the template has been compiled. So, my question is, why is it that the D3 operations is executed inside the link function, where SVG elements are added, yet it still appear correctly? Am I missing something here?
-- 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
