new controller injection in rest request