AngularJS Introduction

Angularjs is an open source JavaScript framework to develop web based applications. It is usually used to create Single Page Application. It is easy to code in AngularJS.

Features of AngularJS

There are lots of feature in angularJS and some of these are as follows: -

Set up the environment of AngularJS

As we know AngularJS is javascript framework so first we need to add javascript file which Angularjs is using. It is using Angular.js file to work.

Go to the angularjs official website to download angular.js file

https://angularjs.org/

AngularJS is having two versions i.e. AngularJS and AngularJS 2. In the beginning we will learn AngularJS 1 and then later we will start second version.

So click on the Angularjs 1

		
		angularjs introduction
		Figure 1
		
		

After click on download button and download file.

If you do not want to download file, then you can use following CDN in your application.

		
		https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js
		
		

now open tool in which you want to learn angularjs. For this tutorial I am using brackets which is an open source tool to work with html.

I am using following html file to work with angularjs.

		
		<!DOCTYPE html>
<html>
<head>
    <title>Tech Altum :- AngularJS Tutorial</title>
    <meta charset="UTF-8">
    <script src="angular.min.js"></script>
</head>
<body>

</body>
</html>

		
		

Note: - create your project folder in which add angular.min.js file and html file in which you want to work. And if you do not want to use angular.min.js file then you can add cdn in script src.