Experiments in using AngularJS with d3