Suppose that you have this mapping:
App.Router.map(function() {
this.route("foo")
});
When is transitioned to foo route. It template will be inserted in that was specified in the into property of render method.
By example:
App.FooRoute = Ember.Route.extend({
renderTemplate: function() {
this.render("foo", { into: "sometemplate" })
}
});
Case this isn't setted, the foo route will retrieve the parent route, in that case ApplicationRoute, and insert the template foo, into application template.
This is the default behavior when you don't override the renderTemplate method.
But when no one of that conditions happens, this is the behavior of LoadingRoute, because it doesn't have the ApplicationRoute as parent. Than ember insert the template in the body tag, or more specifically in App.rootElement.