Copied and fixed up an example of mixing angular with d3.