properly inject dependencies in inner / root pages