For this scenario, I have a page of HTML with some AngularJS directives, controllers, etc.
Something like this:
I had the same problem. This worked for me: https://docs.angularjs.org/api/ng/function/angular.injector