Evolution of Angular 1.x to Angular 6

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!

Adesh

Hi, I am Adesh. I am a senior software engineer having more than 12 years of software development experience. I am a full stack developer and interested in writing the technical post on programming. I am currently working in New York City area.

This Post Has 6 Comments

  1. Nice Post, Adesh

    >

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close Menu