Refactored app config to removed ngCache issue on production server