As I lack the 50exp to comment on the question...
I don't know about ember, but in Angular you could use ngInclude or a directive.
However, what do you mean 'query the server'? Do those query points send back the template to use, or determine the URL to the template, or...
It could be that "the Angular way" to accomplish your goal is to use $routeProvider with ngView (be sure to look at the example).