angular.module('sam').config(function($routeProvider){
$routeProvider.when('/main/customer',{
templateUrl:"customer.html",
controller:"customerController"
})
.when('/main/client',{
templateUrl:"client.html",
controller:"clientController"
});
});
the above line kept it as separate file called app.js, Here I use ASP.NET MVC as backend, so from index.cshtml I did like below
Customer
Client
I am experiencing an issue with above coding. But in angular ngRoute the second / looks for routeParams???that's why I'm getting error??
Can anyone help me in this.

Srinivasan K KPosted Jul 9, 2015, 11:54 PM
suraj ghosiPosted May 6, 2015, 7:43 AM
then your route work fine please try this