Using AngularJS to create SVG charts