externalize conditionalRouteProvider to https://github.com/yannlombard/conditionalRoute