fix(compile): ensure parent controllers are exposed within the scope of their children