How to dynamically reference the controllers on each partial view of each tab?

Hi guys, does anyone knows how to dynamically reference controller to each partial view?
I would not like to load all controllers on startup of the app which greatly affects the performance. I had separated each controller to a js file to be referenced. For $stateProvider, does it have a workaround to reference the js file in without declaring all controllers in index.html?