D3 angular proto