I am building an yeoman app with an angular-generator.
The js libraries included in my index.html file are:
This happened to me too with .NET and MVC 5 and after a while I realized that within the label: ngview
again included as section scripts happens to you. To solve the problem on the server side what I do is return the partial view. Something like:
public ActionResult Index()
{
return View();
}
public ActionResult Login()
{
return PartialView();
}
public ActionResult About()
{
return PartialView();
}