This page looks best with JavaScript enabled

Evolution of Angular 1.x to Angular 6

 ·  ☕ 2 min read  ·  ✍️ Adesh

History

Since long time, HTML was considered to develop static html pages, and was used with other server-side frameworks to develop a complete website. But, there were lot of challenges in the server-side frameworks, and mainly with MVC (Model-View-Controller) architecture.

So, to encounter all these server-side framework related issues, Google has developed own client-side Single Page Application (SPA) framework using HTML5, Bootstrap and Javascript, called AngularJS.

The main aim was to decouple client-side code to server-side code, and to decouple DOM manipulation from the application.

AngularJS was able to develop rich internet application using MVC (Model-View-Controller) & MVVM (Model-View-ViewModel) architecture.

Basically, AngularJS extends the HTML tags with custom attributes. These attributes are called Directive. Using these directive, e.g ng-model, is used to bind the application data to the javascript file, which is called AngularJS Controllers. In angular 1.x, there was 2 way data bindings. The changes in the angular model in view automatically reflecting in change in value in AngularJS controller’s scope. Now, what is controller’s scope?

The controller’s scope is the object, which was available both in view and controller. It bind the data between view and controller. Like other objects, this scope has its own properties and methods. It is represented by $scope.

Angular Versions

There are following versions of Angular.

  1. AngularJS 1.x
  2. Angular 2.0
  3. Angular 4.0
  4. Angular 5.0
  5. Angular 6.0

Summary

In this blog, we learned about how Google created AngularJS framework. What was the reason behind the evaluation of AngularJS? And what are the version of AngularJS till date?

I hope you enjoy this blog.

Cheers!

Share on

Adesh
WRITTEN BY
Adesh
Technical Architect