Angular 5: Angular 5 is a later version of the AngularJS that came after Angular 4, developed for creating apps faster, as it removes unnecessary codes. Angular 5 is more advanced and has its own set of features like build optimizer, compiler improvements, and code-sharing feature. It was launched on 1st November 2017.
Difference between Angular 4 and Angular 5:
|S.No.||Angular 4||Angular 5|
|1.||Angular 4 was launched in the March 2017.||Angular 5 was launched in the November 2017.|
|2.||Angular 4 supports earlier TypeScript versions such as TypeScript 2.2 and 2.1.||Angular 5 only supports TypeScript 2.5.|
|3.||Angular 4 does not provide the option to restrict the unneeded white spaces, tabs and newlines.||While Angular 5 provides the option to restrict tabs, whitespaces and newlines.|
|4.||Angular 4 does not have the feature of build optimizer.||Angular 5 has the feature of build optimizer.|
|5.||Angular 4 does not provide support for multiple naming scheme.||Angular 5 provides support of multiple names for both directives and components.|
|6.||In Angular 4, traditional approach is used for tracking life cycle events.||In Angular 5, developer can track the route of life cycle events with new router which provides a more realistic tracking.|
- Routing in Angular JS using Angular UI Router
- Angular CLI | Angular Project Setup
- Angular 7 | Angular Data Services using Observable
- Adding Angular Material Component to Angular Application
- How ajax works? Difference between angular js and jquery
- Difference between Angular and AngularJS
- Difference between React.js and Angular.js
- Difference between Angular and jQuery
- Difference between Backbone.js and Angular.js
- Difference Between Angular and Knockout
- What is the difference between change and ngModelChange in Angular?
- Difference between Angular 2 and ReactJS
- Difference between Preact and Angular
- Difference between Angular and Aurelia
- Difference between Angular 4 and ReactJS
- Difference between Angular 5 and ReactJS
- What are the differences between an Annotation and a Decorator in Angular?
- How to enable routing and navigation between component pages in Angular 8 ?
- What is the equivalent of ngShow and ngHide in Angular 2+?
- How to create a To-Do list using Drag and Drop in Angular 7 ?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.