You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
I was wondering what the reasons are behind using a URL parameter in
$router.navigate
instead of a component name ?To replace
$location.path('/register')
, I would have expect to write (maybe wrongly) :instead of
I was a bit surprised, as
ng-link
is working with component names.To avoid remembering the URL, it's possible to do :
But that feels overkill... Am I missing something ? Or what are the reasons to use a url instead of a component name ?
The text was updated successfully, but these errors were encountered: