No provider for ViewController!

So I was trying to import ViewController into app.component.ts but I receive this error, is it impossible or what?

It is impossible, makes no sense, and is indicative of broken design. If you can describe in larger terms what you are trying to achieve, perhaps alternatives can be suggested.

I wanted to force-close tabs when a page from tabs is selected.