How Angular JS Deep linking works

Viewed 766

Using Angular 1.4

When I try to enter the following url in url bar,

https://application.com/movies/index.html?cd=1501739429812#/Movies/Action/2

the first request sent to server contains the url (Networks tab Chrome)

https://application.com/movies/index.html?cd=1501739429812

only, but still the application loads the page requested.

How is it passing #/Movies/Action/2 to load the correct route.

First Request sent to server from browser :

Request URL: https://application.com/movies/index.html?cd=1501739429812
Request Method:GET
Status Code:200 OK
Referrer Policy:no-referrer-when-downgrade
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding:gzip, deflate, br
Accept-Language:en-US,en;q=0.8
Cache-Control:no-cache
Connection:keep-alive

the hashbang content is not passed.

enter image description here

Any help would be appreciated. Thank you in advance.

1 Answers
Related