angular-ui / ui-router

The de-facto solution to flexible routing with nested views in AngularJS
http://ui-router.github.io/
MIT License
13.56k stars 3.01k forks source link

stateService.href absolute, missing path #3710

Closed christopherthielen closed 6 years ago

christopherthielen commented 6 years ago

From @wawyed on March 2, 2018 21:33

It would appear that the href method in stateService is not generating correctly the absolute url for a state. It's missing the path part of the url.

so an absolute url that should look like:

https://localhost:8301/something/#/myView/123

becomes:

https://localhost:8301/#/myView/123

Copied from original issue: ui-router/core#142