What is AngularJS? Architecture & Features

What is AngularJS?

AngularJS is an open source Model-View-Controller framework which is similar to the JavaScript framework.

Angular JS is probably one of the most popular modern day web frameworks available today. This framework is used for developing mostly Single Page applications. This framework has been developed by a group of developers from Google itself.

Because of the sheer support of Google and ideas from a wide community forum, the framework is always kept up to date. Also, it always incorporates the latest development trends in the market.

In this tutorial, you will learn-

AngularJS Features

Angular has the following key features which makes it one of the powerful frameworks in the market.

  1. MVC – The framework is built on the famous concept of MVC (Model-View-Controller). This is a design pattern used in all modern day web applications. This pattern is based on splitting the business logic layer, the data layer, and presentation layer into separate sections. The division into different sections is done so that each one could be managed more easily.

  2. Data Model Binding – You don’t need to write special code to bind data to the HTML controls. This can be done by Angular by just adding a few snippets of code.

  3. Writing less code – When carrying out DOM manipulation a lot of JavaScript was required to be written to design any application. But with Angular, you will be amazed with the lesser amount of code you need to write for DOM manipulation.

  4. Unit Testing ready – The designers at Google not only developed Angular but also developed a testing framework called “Karma” which helps in designing unit tests for AngularJS applications.

    AngularJS Architecture

    Angular.js follows the MVC architecture, the diagram of the MVC framework as shown below.

                                  Since it’s an open source framework, you can expect the number of errors or issues to be minimal.