get a promise from the controller before loading the route