Angular Js runtime based alpine The Document Root: /home We set the rewrite in nginx, and you should do: Add $locationProvider.html5Mode(true); to your app config Add to your index.html () Then the # is hidden ~ enjoy it;