An alternative to inject an AngularJS template by using $templateCache, using .get() and .put() methods
I wonder why we can't get the template in the app.run section, when, for example, we load a template within a ng-template script in the main html file?
'<script type="text/ng-template">...' is a directive (https://docs.angularjs.org/api/ng/directive/script) and app.run executes before directives.