Hello everyone,

I'm passionated by Angularjs. 
But sometime I have to integrate the other libraries with angularjs. For 
example: the javascript canvas library fabricjs, svg library raphaeljs, 
d3js ..... 
Normally there are the methods, properties of these liraries. If I don't 
use Angularjs, I call these methods or properties directly. 
But in the application that use Angularjs, I want to have clean 
application structure . So what is the good way to integrate with the 
application that uses angularjs ?
For example: I use fabricjs in app, there is the method in fabrics that can 
add a rectangle to canvas: canvas.add(rectangle); .... 
Should I write a function in a controller for ex addRectangle, and this 
function calls the function of fabricjs or I should create the directive 
for that ?

If you already use angularjs with the other library in the same 
application, pls advice me your some experiences, thank you very much

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