Angularjs Routing Throws 404 Without #
I am creating a website with AngularJS and I am using the ngRoute module to handle page requests. In my app.config function I have setup the routing as follows: app.config(function
Solution 1:
Angular looks for the # symbol to handle routing. Everything after the # symbol is interpreted by the routing function. No # symbol, no angular route. If you can run in Html5 mode, then you can turn this off, but to work with older browsers, it is needed.
Post a Comment for "Angularjs Routing Throws 404 Without #"