Removing the # from the AngularJS URL
Video
This tutorial is explained in the below Youtube Video.Overview
In previous chapter we created an AngularJS Application with Partials Views and ngRoute. When we select any link we get the url with the # in AngularJS-http://localhost:8080/angular-hashbang/#/about
This is known as the Hash Mode and is the default behaviour of AngularJS applications.
However these have the following disadvantages-
- The URL is not descriptive, users find it difficult if they have to type the URL themselves.
- The Hash mode has many issues in Search Engine Optimization(SEO). Google search engine does not crawl and index the pages in hashmode(There is work around for this by using hashbang , but even that requires server side configurations.)