Add loading template for routes that return promises