DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Building Scalable Real-Time Apps with AstraDB and Vaadin
Register Now

Trending

  • Redefining DevOps: The Transformative Power of Containerization
  • Five Java Books Beginners and Professionals Should Read
  • Microservices Decoded: Unraveling the Benefits, Challenges, and Best Practices for APIs
  • Auto-Scaling Kinesis Data Streams Applications on Kubernetes

Trending

  • Redefining DevOps: The Transformative Power of Containerization
  • Five Java Books Beginners and Professionals Should Read
  • Microservices Decoded: Unraveling the Benefits, Challenges, and Best Practices for APIs
  • Auto-Scaling Kinesis Data Streams Applications on Kubernetes
  1. DZone
  2. Coding
  3. Frameworks
  4. Introduction to AngularJS

Introduction to AngularJS

Santhakumar Munuswamy user avatar by
Santhakumar Munuswamy
CORE ·
Apr. 09, 15 · Interview
Like (0)
Save
Tweet
Share
3.55K Views

Join the DZone community and get the full member experience.

Join For Free

Introduction

AngularJs is an open-source platform for building web applications and is maintained by Google. Its purpose is for developing Single Page Applications. It supports Test Driven Development (TDD) and the Model-View-Controller (MVC) pattern. It is provided under the MIT License.

If you want to learn AngularJs then before that you should have good knowledge of the following skills:

  • HTML
  • JavaScript
  • CSS

The first released version 1.0 of AngularJs was 2012. That version introduced some features like Single Page Application, Support Separation, Support Binding, Test Driven Development, Rich internet applications and cross-browser support.

You want to download AngularJS from the following link:

https://angularjs.org/ à Click Download AngularJS file

Code: App.js

var app = angular.module("AngularApps", []);  

SampleAppControler.js

app.controller("MySampleAppController", function ($scope) {  
    $scope.Message = "San2Debug.net";  
  
}); 

Default.aspx

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>  
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
  
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title>San2Debug || AngularJS Sample Application</title>  
    <script src="Js/angular.min.js"></script>  
    <script src="Js/App.js" type="text/javascript"></script>  
    <script src="Js/SampleAppControler.js" type="text/javascript"></script>  
</head>  
<body>  
    <form id="form1" runat="server">  
    <div id="Container" ng-app="AngularApps" ng-controller="MySampleAppController">  
    <p><h3>Welcome {{Message}}</h3></p>  
    </div>  
    </form>  
</body>  
</html>  

Output: Welcome San2debug.net

Conclusion

This article helps to understand AngularJS in Visual Studio 2010.

AngularJS

Opinions expressed by DZone contributors are their own.

Trending

  • Redefining DevOps: The Transformative Power of Containerization
  • Five Java Books Beginners and Professionals Should Read
  • Microservices Decoded: Unraveling the Benefits, Challenges, and Best Practices for APIs
  • Auto-Scaling Kinesis Data Streams Applications on Kubernetes

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: