Using ViewController from within a popover (without module.ts)?

is there a way to do so? I really feel like I should know the answer and / or method here, but, I don’t.

Or does a page/component have to have a module.ts attached in order to use ViewController?