Forums

Angular clean url

I am using Angular + Djnago and was wondering what is the best way to get rid of # in the urls. I tried using $locationProvider.html5Mode(true);

but the problem with this is that when I refresh/reload the page it throws an error. Has anyone else faced the same issue?

Thanks.

That's not something we've seen here (though we've never used large amounts of Angular). What's the error? Maybe a sample URL showing the problem would help any Angular gurus on the forums work out what's wrong?