I was studying AngularJS for interview propose then deep linking but i am not able understand why it is used, when it used, and What is the propose of it in angularjs.
Deep linking allows you to encode the state of application in the URL so that it can be bookmarked. The application can then be restored from the URL to the same state.
Deep linking is the way to take user to a specific page without going anywhere else and transfer to that page. It also helps to index pages in search engines; it's good to have for a single load web site / application created using Angular. The default prefix is # when HTML 5 modes is not set.
What is deep linking? Deep links are a type of link that send users directly to an app instead of a website or a store. They are used to send users straight to specific in-app locations, saving users the time and energy locating a particular page themselves – significantly improving the user experience.
A deep link is a hypertext link to a page on a Web site other than its home page. The "deep" refers to the depth of the page in a site's hierarchical structure of pages. Any page below the top page in the hierarchy (the home page) can thus be considered deep.
Here is a clear definition of deep linking from this blog:
Deep linking is the usage of the URL, which will take to specific page (content) directly without traversing application from home page. It helps in getting indexed so that these links can be easily searchable by search engines like Google, Yahoo.. etc.
Using Angular, the deep linking is defaut done with the #
prefix (when the HTML5 mode is not set).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With