Preferred controller factory over controller config