I want to develop and SPA using angular.
Because I have experience in ASP.NET MVC, I have come across a few implementations that use Angular with ASP.NET MVC.
My understanding is that angular routing is run on the client pointing to the html file to open.
However, with MVC, the server routes the requests based on Controller/Action and that returns an cshtml file.
I have seen two implementations for angular routing configuration:
- TemplateUrl is the actual html file
- TemplateUrl has the form Controller/Action, and controller then returns the cshtml
How does the second work? Is it making a call to the server? How these two compare? Is