Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I am very new to AngularJS. Want to use angularjs in one of my new MVC 4 web application.

Where I can use Angular JS and what is the advantage of using it. If I use angularjs, will it change MVC structure. Please provide your valuable suggestions.


Thanks,
Srinivas
Posted

I am also learning AngularJS.

I am referring following articles and I find this very effective.So this might also help you.

Getting started with AngularJS and ASP.NET MVC - Part One[^]
Getting started with AngularJS and ASP.NET MVC - Part Two[^]
Getting started with AngularJS and ASP.NET MVC - The long awaited Part Three[^]
 
Share this answer
 
v2
If you start a project from scratch I would not recommend the MVC approach. Whats your reason for this? Angualar its self is a MV* Framework. I did this in the like your approach. But at the end I removed the whole MVC stuff because it was not more than a boiler.
I would only recommend to do this if you like to send some views only to authorized users (than you can use asp.net identity for example)

I would separate your "Solution" in multiple project.
Project 1: "Plain Website" where you create a Single-Page application without MVC overhead.
Project 2: Can hold your Web API or SignalR services if you need some data.

Regards
Stibe
 
Share this answer
 
AngularJS can be used in client side (User Interface). The main advantage of using angularjs is dynamic. If you change the variable either in Javascript or Html, then it will change immediately wherever we used.


The angularjs will not change your mvc structure. AngularJS is also a MVC framework. For more reference kindly refer angulardoc.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900