freeCodeCamp/guide/english/angular/index.md

32 lines
1.8 KiB
Markdown
Raw Normal View History

2018-10-12 19:37:13 +00:00
---
title: Angular
---
2018-10-27 02:32:01 +00:00
2018-10-31 00:03:12 +00:00
![angular logo](https://angular.io/assets/images/logos/angular/angular.png)
2018-10-12 19:37:13 +00:00
2018-12-01 15:19:45 +00:00
## Angular
2018-12-01 15:19:45 +00:00
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.
2018-10-12 19:37:13 +00:00
## Version History
2018-12-01 15:19:45 +00:00
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.
2018-10-12 19:37:13 +00:00
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](https://angular.io/guide/releases).
2018-10-12 19:37:13 +00:00
**Install**:
2018-12-01 15:19:45 +00:00
The easiest way to install Angular is through [Angular CLI](https://cli.angular.io/). 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.
2018-10-12 19:37:13 +00:00
```shell
npm install -g @angular/cli
2018-10-12 19:37:13 +00:00
ng new example-app
2018-10-28 22:14:57 +00:00
cd example-app
2018-10-28 22:14:57 +00:00
ng serve
2018-10-28 22:14:57 +00:00
```
2018-12-01 15:19:45 +00:00
For more information, refer to the official docs for [Angular](https://angular.io/docs) or [Angular CLI](https://cli.angular.io/).