Some test using d3 in combination with angular.js