Testing to see if I can put a D3-used function into the controller, and pass it into the scope