2 controllers using factory fn