Quantcast
Channel: AngularJS routing without the hash '#' - Stack Overflow
Viewing all articles
Browse latest Browse all 11

Answer by Mahendra Waykos for AngularJS routing without the hash '#'

$
0
0

**

It is recommended to use the HTML 5 style (PathLocationStrategy) as location strategy in Angular

**Because

  1. It produces the clean and SEO Friendly URLs that are easier forusers to understand and remember.
  2. You can take advantage of the server-side rendering, which will makeour application load faster, by rendering the pages in the serverfirst before delivering it the client.

Use Hashlocationstrtegy only if you have to support the older browsers.

Click here to know more


Viewing all articles
Browse latest Browse all 11

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>