setTplHook - get controller from the app