fixing DI issues with routeProvider resolve