Early refresh solution: now passes values from factory to controller