[RESOLVED]Benefits of AngularJS with MVC?

I attended VSLIVE 2014 this year in Seattle, and heard quite a bit about AngularJS. It seems Microsoft is throwing their full weight behind it. From what I understood, some developers use MVC strictly as a router, and use AngularJS for all the dynamic controller
stuff. What are the benefits of doing it this way? Is it solely to shift some of the workload to client side? I’m debating learning it, but I’d like to know what fuss is all about. Most of the things Angular does, seem possible with MVC and the razor syntax.

Thanks for any input.

adam3039

Most of the things Angular does, seem possible with MVC and the razor syntax

AngularJS & MVC does the same thing but in a different manner. MVC is more like a traditional web style, where you navigate from page to page. But with Angular you will have only one page and the transition from page to page is seamless. You can think AnglularJS
as MVC + Ajax. I am recently doing all my work with AngularJS and I like it much more than MVC.

AngularJS replaces the MVC controllers. But you need WebAPI to fetch data from the server.

Leave a Reply