freeCodeCamp/guide/english/angular/index.md

1.8 KiB

title
Angular

angular logo

Angular

Angular (versions 2 and up) is a TypeScript based open source framework to develop frontend web applications. It is the successor of AngularJS and all mentions of Angular refer to versions 2 and up. Please see the seperate AngularJS catagory for its respective guides. Angular has features like generics, static-typing, and also some ES6 features.

Version History

Google released the initial version of AngularJS on October 20, 2010. Stable release of AngularJS was on December 18, 2017 of version 1.6.8. The last significant release of AngularJS, version 1.7, took place on July 1, 2018, and is currently in a 3 year Long Term Support period. Angular 2.0 was first announced on September 22, 2014 at the ng-Europe conference. One new feature of Angular 2.0 is dynamic loading, and most of the core functionality was moved to modules.

After some modifications, Angular 4.0 was released in December 2016. Angular 4 is backward compatible with Angular 2.0, and some new features are the HttpClient library and new router life cycle events. Angular 5 released on November 1, 2017, a major feature of which is support for progressive web apps. Angular 6 was released in May 2018, and Angular 7 in October, 2018. The latest stable version is 7.0.0.

Install:

The easiest way to install Angular is through Angular CLI. This tool allows the creation of new projects and generating components, services, modules, and so on, to a standard the Angular team consider to be best practices.

npm install -g @angular/cli

ng new example-app

cd example-app

ng serve

For more information, refer to the official docs for Angular or Angular CLI.