AngularJS controller that manages different chart types in the same page