Learning D3 and AngularJS