a simple AngularJS directive to use the Cytoscape.js lib