Use angular to get the data instead of d3