Skip to content

Instantly share code, notes, and snippets.

@adamgen
Created August 25, 2015 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamgen/b67fe5cb72e868c9fa25 to your computer and use it in GitHub Desktop.
Save adamgen/b67fe5cb72e868c9fa25 to your computer and use it in GitHub Desktop.
angular router remove hash
$locationProvider.hashPrefix('!');
$locationProvider.html5Mode(true);
$locationProvider.baseHref = '/';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment