@@ -33,23 +33,23 @@ export class UrlService {
3333
3434 /**
3535 * @param {ng.LocationProvider } $locationProvider
36- * @param {import("../../router/state/state-service.js").StateProvider } stateService
36+ * @param {import("../../router/state/state-service.js").StateProvider } stateProvider
3737 * @param {import("../router.js").RouterProvider } globals
3838 * @param {import("../../router/url/url-config.js").UrlConfigProvider } urlConfigProvider
3939 */
40- constructor ( $locationProvider , stateService , globals , urlConfigProvider ) {
40+ constructor ( $locationProvider , stateProvider , globals , urlConfigProvider ) {
4141 /** @private */
4242 this . _locationProvider = $locationProvider ;
43- this . stateService = stateService ;
43+ this . stateService = stateProvider ;
4444
45- /** Provides services related to the URL */
46- this . urlRuleFactory = new UrlRuleFactory ( this , this . stateService , globals ) ;
45+ /** @type { UrlRuleFactory } Provides services related to the URL */
46+ this . _urlRuleFactory = new UrlRuleFactory ( this , this . stateService , globals ) ;
4747
4848 /**
4949 * The nested [[UrlRules]] API for managing URL rules and rewrites
5050 * @type {UrlRules }
5151 */
52- this . rules = new UrlRules ( this . urlRuleFactory ) ;
52+ this . rules = new UrlRules ( this . _urlRuleFactory ) ;
5353 /**
5454 * The nested [[UrlConfig]] API to configure the URL and retrieve URL information
5555 * @type {import("./url-config.js").UrlConfigProvider }
0 commit comments