I am using the following example :
http://angular-ui.github.io/ui-router/sample/#/
Default Page URL in the example above :
http://angular-u
First, I'm change the templateUrl to
templateUrl: '/Scripts/ui-route/home/home.html',
Then, I changed the code as follows:
public ActionResult Index() { var path = Request.Path; if (path == "/Admin") { return Redirect("/Admin/"); } return View(); }
It works.