Skip to content

Instantly share code, notes, and snippets.

@deepakazad
Created May 13, 2016 21:50
Show Gist options
  • Save deepakazad/954d99cb077523d7df68d680d849e5b9 to your computer and use it in GitHub Desktop.
Save deepakazad/954d99cb077523d7df68d680d849e5b9 to your computer and use it in GitHub Desktop.
Enable HTML5 mode in AngularJS - Client changes
app.config(function($locationProvider) {
$locationProvider.html5Mode({
enabled: true
});
});
<html>
<head>
<base href="/">
</head>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment