feat(routeProvider): allow fully injectable transition function