How do you remove the # in urls using the angular .htmlMode(true) syntax?
I tried the following but it didn't work app.js app.config I tried adding $urlRouterProvider.html5Mode(true);
4 Answer(s)
-
0
I don't know this feature of Angularjs. But I don't think ABP template restricts it. If it's working out of ABP, it should work with ABP. At least, theoretically :)
-
0
any solution for server side ? I have successfully implemented on client end,
-
0
Hi,
Are you getting an error from server side ? If you handled it on the client side, it should work.
-
0
<cite>kaushikthanki: </cite> any solution for server side ? I have successfully implemented on client end,
try these 2 links
<a class="postlink" href="http://blog.dmbcllc.com/asp-net-angular-js-html5mode/">http://blog.dmbcllc.com/asp-net-angular-js-html5mode/</a> <a class="postlink" href="https://github.com/angular-ui/ui-router/wiki/Frequently-Asked-Questions#how-to-configure-your-server-to-work-with-html5mode">https://github.com/angular-ui/ui-router ... -html5mode</a>