Route to different View(use @Html.ActionLink and ng-view in View) in Asp.Net MVC with AngularJS, ng-view only work one time, location url strange
问题 In my case, I need use @Html.ActionLink to Route to different View with AngularJS.In each view1/index.cshtml in asp.net has <div ng-view></div> that will load its html template. the following link image is my project structure: click My problem is: it only route success first time.I think it cause wrong location url. Views/Share/_Layout.cshtml: <ul> <li>@Html.ActionLink("Home", "Index", "Home")</li> <li>@Html.ActionLink("Device Management", "Index", "DeviceManagement")</li> </ul> Views/Home