I have a problem in using AngrularJS routing.
The following code:
$routeProvider.when("xyz/x", { templateUrl: "/Desktopmodules/xxx/Templates.x.html"}
gives the follwong route:
dnndev.me/xyz/Desktopmodules/xxx/Templates.x.html.
However I need the follwoing url/route (without xyz after dnndev.me):
dnndev.me/Desktopmodules/xxx/Templates.x.html.
How to do that? And how to establish a base/root url in javascript?