Add dom to controller instance for plugins