You should use $state.href().
-
To get the absolute URL you can then use:
$state.href('user.home.view', {}, {absolute: true}); -
To get the URL with the parameters in place you need to add them as the second argument
You should use $state.href().
To get the absolute URL you can then use:
$state.href('user.home.view', {}, {absolute: true});
To get the URL with the parameters in place you need to add them as the second argument