AngularJS Introduction

In this tutorial you will learn about the AngularJS Introduction and its application with practical example.

What is AngularJS?

AngularJS is an open source front-end web application framework based on javascript, it is used to build dynamic front-end for Rich Internet Application (RIA). It was originally developed by Misko Hevery and Adam Abrons in 2009, but now it is maintained by Google and an open source community of individuals and corporations.

AngularJS is most preferred choice for building Single Page Application (SPA). AngularJS is completely based on HTML and JavaScript, it extends the traditional HTML with new attributes and data-binding components that enable us to serve dynamic page content. AngularJS operates on two way data-binding paradigm which provides automatic synchronization between model and views. In data-binding model changes propagate to the view, and view changes are instantly reflected back to the model.

AngularJS enable us to apply modern programming practices on client side such as modular programming, separation of concerns and testability etc. The goal of AngularJS is to augment browser-based applications with model–view–controller (MVC) capability, which makes it easy to develop and test web application.

mvw

Advantages of AngularJS

Here are some of the reasons to choose AngularJS as front-end web development framework.

It facilitates building Single Page Application (SPA).

It facilitates creating reusable, plug & play components

It supports two way data-binding model which provides automatic synchronization between model and views.

It support unit-testing.

It enable developers to write less code and do more.

It provide better control over DOM Structure and Objects.

It follows MVC architecture at client-side, thus it helps to organize application code properly.

It is open source and completely free to use.

Well documented, easy to learn, and open source community driven.

Disadvantages of AngularJS

Libraries have to be AngularJS specific
Javascript must be enabled for proper functioning
AngularJS is big and complicated,
AngularJS applications are considered less secure
You can not create many NG-apps on the same page, this can cause name clashes.
More than 2000 watchers can severely lag the UI.

 

In this tutorial we have learn about the AngularJS Introduction and its application with practical example. I hope you will like this tutorial.