The module panel is loaded in an iframe, that is the reason that you not have access to the product created angularjs modules.
I think it is easier to get it working with the iframe-dialog that @ton.nguyen was suggesting in Use dialogs in backoffice then getting it to work between the frames in the current window.