scope migration for controllers