Journey of Angular

Journey of Angular started with AngularJS. It was started by two developers in 2009 named,¬†Misko Hevery and Adam Abrons. Later Hevery started working in Google, where he brought the Angular there and in just few months Google adopted it and started investing in it. Angular was named angular because¬†it is a ‘javascript’ framework written inside html tags using angle brackets<>. AngularJs was release in October,2010 and the latest Angular 7 released in October 2018. Between them there were Angular (also called Angular 2), Angular 4, Angular 5, and also Angular 6. So, even if you are little late to the party, this blog would set you up right on the track. So, keep reading!

Why AngularJs?

AngularJs did change the game! AngularJs brought MANY new features, about which now its impossible to think to work! One of them definitely was DATA BINDING{{}}. Prior to angularjs, model changes were merged with templates to reflect changes in the view, which was highly inconsistent as programmer needed to ensure that even though view is changed, model might not change, as changes might only be in template! But with AngularJs, VIEW-MODEL were directly linked that is view is the projection of model and model is the projection of view! Now, think about it as a testing point of view, there is no role of controller! So testing becomes ASAP!

And, lets not forget DEPENDENCY INJECTION. So, scope variables are injected(or added) in services to make it accessible to controller which again has tremendously simplified the code, there are bound together and also UNIT TESTING becomes easier as we need to figure out the particular error only!

AngularJs to Angular

Angular subsequent Versions are referred only as Angular(without JS part). So, it was released in september 2016. 4 years after AngularJs. So, yes drastic changes happened.

First and foremost, addition of Typescript. So, angular and all subsequent versions are built on Typescript, an open-source programming language developed and maintained by Microsoft which is actually superset of JavaScript. Hence, Now Angular is capable to use OOPS and has become Object oriented more!

Secondly, Angular is designed to keep in mind mobile support! So, huge performance advantage using components and cleaner code is a major plus.

In Angular 2, controllers and $scope were replaced by components and directives.  Where components control view defined with companion template whereas directive is a function that executes whenever the Angular compiler finds it in the DOM like ng-repeat, ng-if etc.

 

Angular 4, Angular5, Angular 6 and Angular 7

Angular 4 was released in March 2017, No major changes as such were released just, we had Type script 2.4, we had else with ng-if, and also to capture parameters at http was easier with snapshot and some others.

Angular 5, following year with 6 months gap it was released in Nov, 2017. Apart from typescript and compiler improvement, major impact was of HttpClient which replaced @angular/http and HttpModule with httpClientModule.

Angular 6 was released in May 2018, we had ng-add, ng-update, ng-template and updated version of Rxjs library

Angular 7 was released in Dec, 2018 , TypeScript 3.1, the RxJS 6.3, and Node 10 were used and supported and major improvements were drag and drop  support from modules.

Hope, it would have brought closer to where the world is at in just few minutes. If you still have an any doubt, leave it in the comment section below. our team would revert back within 24 hours.

Do Follow our Facebook page https://www.facebook.com/lovebeingengineer/.

Similar Blogs:

Top 10 AngularJs Interview Questions

 

AngularJs Vs Angular

 

Forms in AngularJs

 

Templates And Expressions in AngularJs

 

Dependency Injection in AngularJs!

 

$scopes in AngularJs

 

Services in AngularJs

 

Controllers in AngularJs

Understanding Two-Way Data Binding in AngularJs

 

Leave a Reply