Plotting with AngularJS