new controller inject api