UPDATED angular chart controller was still too thick, I created a model where most of the action is now.