Get rid of $rootScope values.
Refactor the way the Refresh mechanism works for charts. The two concepts of 1) Refresh current data to now vs. 2) Refresh historical data are independent but both vital functions.  There is now a single button dropdown that allows both of these functions plus auto refresh of various intervals (5s, 30s, 1m).