I wanted to load an inline view template.
I wrapped the template in a script tag of type text/ng-template and set the id to temp1.html. and
Ody, you were on the right track, the only problem was that the tags are outside of the DOM element on which the ng-app directive is used. If you move it to the element in-line templates should work.
You might also find this question relevant: Is there a way to make AngularJS load partials in the beginning and not at when needed?