You can, but cannot, use html5 mode (removes # from URLs). If you are using html5 mode, you need to redirect all requests to the root URL from its one-page application. Since you cannot use server-side code on GitHub pages, you cannot do this. So, if you don't mind # in the url, go for it. If you want to use html5 mode, you need to look for hosting in another place.
From Angular docs ...
"Using [html5] mode requires URL rewriting on server side, basically you have to rewrite all your links to entry point of your application (eg index.html)"
EDIT: You can use some smart hacks to do this job if you really want to. Hacks are detailed here . As a result, you will rename your index.html to 404.html and github will serve it on all routes
Charlie Martin Jun 21 '13 at 18:45 2013-06-21 18:45
source share