Learnig how to use angular and d3