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

angular - DownloadURL return null in below code -

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -