I have MVC application with angular. Iam using route provider that is working fine on debug mode but when Im setting my app on iis it's not working, the site url should be: server/applicationName/#/Routeprovider But actually the url is: server/applicationName#/Routeprovider Only if I'm adding / to the url it's working... Anyone had this problem before?
Here is my code:
$routeprovider.
when("/", {
templateUrl: "Statics/NewUser.html"
}).
when("/Admin", {
templateUrl: "Statics/Admin.html"
});
did you try to use the baseURL attribute in the main HTML page