-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
In the sample states.js: // Use a url of "/" to set a states as the "index".
When entering the site at the root/index/home level and using hashbangs, the $location.path() will return ""
instead of "/"
. When a state's url option is "/"
to match the root/index/home, it will not match ("" != "/"
).
If the $location.path() is an empty string (""
) it should match the root/index/home state ("/"
)
Here is the $location
when entering the root/index/home of a site at the time the match is performed.
*The manual hash was me going directly to the url with the hash already in place.