angular/angular-seed

Any view shows index page

devthedeveloper opened this issue · 1 comments

When I hit directly http://localhost:8000/view1 it goes to http://localhost:8000/view1/ and shows the index page like this

image

its same with any route.

This is expected. Since by default the app is in hashbang mode, the URL for view1 would be http://localhost:8000/#!/view1. If you want to use HTML5 mode (where yu can get cleaner URLs) you need a server that can be configured to rewrite appropriate URLs to index.html.

For more info, take a look here.