0 votes
in Angular by
angular versions

1 Answer

0 votes
What is Angular JS?

AngularJS was created by Misko Heavery. He had built a framework to handle the downfalls of HTML and also taking ideas and best practices of the libraries which were never done earlier.

This first version of the framework known as AngularJS was launched in the year 2009. It laid the foundation of the present-day front-end application development. Angular JS was one of the best single-page application development solution. Gradually, it wide adoption and become very popular.

Features of Angular JS

A JavaScript MVW Framework

Extends HTML support by adding tags, attributes, and expressions

Allows easy event Handling

Supports for Data Binding

Built-In Template Engine and Routing

Form Validations and Animations

Dependencies Injection

In this tutorial, you will learn

What is Angular JS?

What is Angular 2?

Why not Angular 3?

What is Angular 4?

What is Angular 5?

History of Angular Versions

Difference between AngularJS and Angular 2

Difference between Angular 2 and Angular 4

Difference between Angular 4 and Angular 5

What is Angular 2?

After, releasing Angular JS, Angular team released Angular 2 which is complete rewrite of its original Angular 1 or AngularJS. Angular 2 version is built around the concept of the component. It was rewritten from scratch by the Angular team using Typescript. It offers better performance to web developers. There are many new features along with other improvements and tweaks.

Some Important Features of Angular 2 are:

Modern, faster, and highly scalable framework

Equally useful framework for web, mobile, and desktop apps

Web components based architecture

Supports Hierarchical Dependency Injection

Why not Angular 3?

Angular 2 has been a single repository. Each package downloadable with the @angular/package-name convention. For example @angular/HTTP, @angular/router

All package names were assigned version 2, but router package by mistaken was given version 3. Therefore, the development team skipped Angular Version 3 and directly named it version 4 to maintain compatibility with Angular Router's version.

What is Angular 4?

Angular 4 is unlike Angular 2 (which is completed rewritten version of Angular 1). There are in fact only few minor changes and new features added in it. Angular 4 supports TypeScript, which compiles to JavaScript and displays the same in the browser.

Some other features of Angular 4 are:

Reduce the size of the generated bundled code up to 60%

Animation moved out to a separated package @angular/animations

Supports for if/else statement

Supports for email validator

What is Angular 5?

Angular 5 doesn't bring any significant change from Angular 4. However, lots of new features and many new improvements are done in this version.

Features of Angular 5:

Make AOT the default

Easier to build progressive web apps

Type checking in templates

Support for Internationalized Number, Date, and Currency Pipes

An update to Httpclient

Zone speed improvements

New Router Lifecycle Events

History of Angular Versions

Angular version 1.0 which is known as AngularJS was released in 2010 by Google

Angular version 2.0 was released in September 2016

Angular 4.0 was released in March 2017

Angular 5.0 was released in Nov 2017

Let see Angular versions history in detail:

History of Angular 1

Angular 1 which was also referred as AngularJS is a JavaScript open-source framework. It was designed especially for single-page web apps which is fully owned by Google. This was the first Angular version launched in the year 2010.

History of Angular 2

Angular 2 is a fully built and completed rework version from Angular 1. It is compatible with mobile devices. Moreover, Angular 2 gives you an option to choose more languages where you can choose your language like ES5, ES6, or TypeScript to write the codes of Angular 2.

History of Angular 4

As discussed earlier, Angular 3 was not released by the Angular team. Angular 4 was released on March 6, 2017, which is compatible with most of the applications. However, there is not any major changes in Angular 4 from Angular 2, and it offers better bug fixed, and alerts compare to Angular 2.

History of Angular 5

Angular five was released in November 2017. In this Angular version, there are some biggest changes has also been made compared to previous Angular. In this version, there is a Build Optimizer that created with the Angular CLI by which allows you to apply build optimizer by default. Besides this, there is an Angular Universal State Transfer also given that supports API and DOM.

Related questions

0 votes
asked Feb 24 in Angular by SakshiSharma
0 votes
asked Feb 24 in Angular by SakshiSharma