angularjs - Angular URLs created with $location.path() does not push state without manual refresh -


we use both interface , url bar navigate our site.

suppose root url www.site.com/branches

so use

$location.path("/" + id); 

to go haystack view needle view:

www.site.com/branches#/1

however when change /branches#/2 via address bar , press enter doesn't work first time. work second time.

what have have browser register url?


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -