Use JavaScript conventions and be more DRY.
Use JavaScript conventions. Get rid of copy-pasted loop in configureChart().
Renaming.
Use $q.all with promises.