123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> Education >> View Article

Difference Among Angular 8,7,6,5,4,3,2 - Breakdown,new Features,and Changes

Profile Picture
By Author: infocampus
Total Articles: 34
Comment this article
Facebook ShareTwitter ShareGoogle+ ShareTwitter Share

Hey! I'm Sunny and I work at Cognizant.Follow me on LinkedIn and let me know you are working on!The first version of Angular was released in the year of 2010.Some people call this as Angular and some people call as Angular 1.But it is officially named as AngularJS.
Let's dive into changes angular made overtime all the way from angular 2 to angular 8.
Anough of bullshit,let's list down the changes
Angular 2
Released in 2016
Complete rewrite of Angular 1
Written entirely in typescript
Component-based instead of Controller
ES6 and typescript supported
More testable as component-based
Support for Mobile/Low-end devices
Up to typescript 1.8 is supported
Angular 3
Why we do not have Angular 3?
1)Precise is being created in a MonoRepo it implies a solitary repo for everything
2)@angular/core,@angular/compiler,@angular/switch and so on are in the equivalent repo and may have their very own renditions.
3)The angular router was already in v3 and releasing angular 3 with router 4 will create confusion
4)To stay away from this perplexity they chose to avoid the variant 3 and discharge with form 4.0.0 so every real reliance in the MonoRepo are destined for success.
Angular 4
Released in 2017
1)Changes in core library
2)Angular 4 is simply the next version of angular 2,the underlying concept is the same and is an inheritance from Angular 2
3)Lot of Performance improvement is made to reduce size of AOT compiler generated code
Typescript 2.1 and 2.2 compatible -all feature of its 2.1 and 2.2 are supported in Angular 4 application.
4)Animation features are separated from @angular/core to @angular/animation -do not import.
animation bundles into the application to lessen group size and it gives the presentation improvement.
5)Else block in *ngIf introduced :
Instead of writing 2 ngIf for else,simply as below code in component template :
*ngIf="yourcondition; else myFalsyTemplate"
"Else Html "
Angular 5
1)Released 1st November 2017
2)Build optimizer : It helps to removed unnecessary code from your application
Rakish Universal State Transfer API and Dom suppport - By utilizing this feature,we would now be able to share the condition of the application between the server side and customer side in all respects effectively.
3)Compiler Improvements : This is one of the very nice features of Angular 5,which the support of incremental compilation of an application.
Preserve White space : To remove unnecessary new lines,tabs and white spaces we can add below code (decrease bundle size)
// in component decorator you can now add :
"preserveWhitespaces :false"
"AngularCompilerOptions" : { "preserveWhitespaces" : false }

4) Increased the standardization across all browsers :For internationalizaton we were depending on 'i18n',but in ng 5 provides a new date,number,and currency pipes which increases the internationalization across all the browsers and eliminates the need of i18npolyfills.
exportAs : In angular 5,multiple names support for both directives and components
HttpClient : until Angualar 4.3 @angular/HTTP was been used which is now depreciated and in Angular 5 a new module called HttpClientModule is introduced which comes under @angular/common/http package.
5)Hardly any new Router Life cycle Events being included Angular 5 :In Angular 5 couple of new life cycle occasions being added to the switch and those are :
ActivationStart,ActivationEnd,ChildActivationStart,ChildActivationEnd,GuardsCheckStart, GuardsCheckEnd, ResolveStart and ResolveEnd.

Angular 5 supports TypeScript 2.3 version.
Improved in faster Compiler support :
An enormous improvement made in an Angular compiler to make the advancement construct quicker.We can now take advantage of by running the below command in our development terminal window to make the build faster.
ng serve/s –aot..

More About the Author

Is React.js the Best Javascript Framework in 2018? ReactJS Training in Bangalore react.js is a one of the flexible and efficient front end javascript library for building UI,and is considered the most in demand in the job markets in 2018. It is likewise considered as a standout amongst the most prominent javascript systems nowadays. Despite the fact that we realize that learning React accompanies a lofty learning curve,it is beneficial as it makes the creating applications progressively effective and fun.Taking all of the above into the consideration,we can state that this year is considered to be the year of React.js as the best javascript framework available on the market. What is React? In plain English,React is considered to be the View 'V' in the Model View Controller (MVC) model.Views are the logic-less files that are controlled by a 'Controller'.React does not replace the view,rather it makes it more modular by creating highly reusable components(pop up modals,lists,sortable tables, etc).. The enormous thought behind React is making your own components like HTML elements.In React,a page is an accumulation of littler pieces,these little pieces are called parts.Developers can utilise these components to efficiently create large web applications,which can change the displayed elements or data without the need to reload the page.a simple example of this would be Facebook likes.The number of likes can increase or decrease without having to reload the page.This method has made it very easy to build modern,complex user interfaces. Evolution of React In 2011,Facebook developers started to face some issues with code maintenance.As the Facebook Ads app started growing exponentially,the team needed more people to keep it running perfectly.over time,their app became difficult to handle,as they faced a lot of updates.Their code demanded an urgent upgrade to become more efficient. They had the model right,but they expected to take care of client experience.Jordan Walke,a programming engineer at Facebook,built an underlying model that mode the procedure more systematic,and this is when React.js appeared. Market Demand for React developers React.js hit another high in June 2018,having been referenced in over 28% of employment postings over the most prevalent dialects.The large gap between Angular and React became even larger,with Angular's continuing decline in popularity. Not only does React win on the jobs marketplace,it is also leading in the amount of npm For More Info Please Visit : http://infocampus.co.in/react-js-training-in-bangalore

Total Views: 21Word Count: 544See All articles From Author

Add Comment

Education Articles

1. Enhance Your Career Skills With The Best Online Training Courses - Hachion.co
Author: Navitha Hachion

2. Nfci Hotel Management Institute In Amritsar
Author: smithangel

3. Ramsonacademy
Author: Anvi

4. Time Management In B-schools – Your Secret To Success
Author: EMPI Business School

5. How To Write A Literary Analysis Essay Like A Pro
Author: Zack

6. Nurturing The Future Stakeholders Of The Country
Author: Kamal Bhatt

7. Artificial Intelligence For Advertising: Everything You Need To Know
Author: sailaja

8. How Technically Advanced Is Your Child’s School Regarding Safety?
Author: Alpine Convent School

9. Communication In English And Why Students Need To Focus Heavily On It
Author: Alpine Convent School

10. 5 Learning Facilities Offered By Reputed Schools To Their Students
Author: Alpine Convent School

11. What Is The Multisensory Approach To Learning?
Author: Alpine Convent School

12. How Can Parents Help With Their Child’s Homework?
Author: Alpine Convent School

13. 6 Unexpected Benefits That Arts Have On Growing Students
Author: Alpine Convent School

14. 3d Animation Courses - Arena Animation Tilak Road
Author: Arena Animation Tilak Road

15. Why Becoming A Data Scientist Is Very Difficult?
Author: tarun

Login To Account
Login Email:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: