title: Implement custom way of loading AngularJS templates
body: <p>In AngularJS you can provide an external template as an script tag or as a html file on the web server. But I need to implement a custom logic of retrieving those templates and none of the methods fit. So I thought I could rewrite the section of AngularJS where the template is actually loaded from the server. But it turns out that it is pretty hard to find any information on this. I found out that <code>$TemplateRequestProvider</code> is used for this task but I've no clue how to replace it with a custom logic. Can you help me out?</p>