AngularJS Routing Without The Hash '#' - Cannot Get It Work
I have read this post many times, and I have followed the instructions there, but I cannot get this to work. AngularJS routing without the hash '#' I have a Qt app that sends a req
Solution 1:
You also need to add the <base href="/" />
in the <head>
of your html page.
Example below.
<!DOCTYPE html>
<html ng-app="app">
<head>
<title>My Website</title>
<base href="/" />
</head>
<body>
</body>
</html>
EDIT
This will take you to a GitHub post with the answer. https://gist.github.com/cjus/b46a243ba610661a7efb
Post a Comment for "AngularJS Routing Without The Hash '#' - Cannot Get It Work"