Angular routes contain #! in the url instead of # [duplicate]
This question already has an answer here: angularjs 1.6.0 (latest now) routes not working 5 answers Recently I have noticed that when using ngRoute module in an AngularJS app, the route contains #! in the URL, which was earlier just the # . For example, www.webiste.com/#/login becomes www.website.com/#!/login I have to enable the html5Mode and also disable the requireBase which removes the base as a whole using the code, $locationProvider.html5Mode({ enabled: true, requireBase: false }); and the URL changes to www.website.com/login which works fine but is misleading and is not what Angular SPA