Angular (application platform)
|Initial release||2.0 / 14 September 2016|
6.1.7 / 6 September 2018
7.0.0-beta.4 / 29 August 2018
|Platform||Cross-platform, modern browsers only|
Angular (commonly referred to as "Angular 2+" or "Angular v2 and above") is a TypeScript-based open-source front-end web application platform led by the Angular Team at Google and by a community of individuals and corporations. Angular is a complete rewrite from the same team that built AngularJS.
Differences between Angular and AngularJS
Angular was a ground-up rewrite of AngularJS.
- Angular does not have a concept of "scope" or controllers, instead it uses a hierarchy of components as its primary architectural characteristic.
- Angular has a different expression syntax, focusing on
"[ ]"for property binding, and
"( )"for event binding
- Modularity – much core functionality has moved to modules
- Angular recommends the use of Microsoft's TypeScript language, which introduces the following features:
- Dynamic loading
- Asynchronous template compilation
- Iterative callbacks provided by RxJS. RxJS limits state visibility and debugging, but these can be solved with reactive add-ons like ngReact or ngrx.
Originally, the rewrite of AngularJS was called "Angular 2" by the team, but this led to confusion among developers. To clarify, the team announced that separate terms should be used for each framework with "AngularJS" referring to the 1.X versions and "Angular" without the "JS" referring to versions 2 and up.
Angular 2.0 was announced at the ng-Europe conference 22-23. October 2014. The drastic changes in the 2.0 version created considerable controversy among developers. On April 30, 2015, the Angular developers announced that Angular 2 moved from Alpha to Developer Preview. Angular 2 moved to Beta in December 2015, and the first release candidate was published in May 2016. The final version was released on September 14, 2016.
On 13 December 2016 Angular 4 was announced, skipping 3 to avoid a confusion due to the misalignment of the router package's version which was already distributed as v3.3.0. The final version was released on March 23, 2017. Angular 4 is backward compatible with Angular 2.
Angular version 4.3 is a minor release, meaning that it contains no breaking changes and that it is a drop-in replacement for 4.x.x.
Features in version 4.3
- Introducing HttpClient, a smaller, easier to use, and more powerful library for making HTTP Requests.
- New router life cycle events for Guards and Resolvers. Four new events: GuardsCheckStart, GuardsCheckEnd, ResolveStart, ResolveEnd join the existing set of life cycle event such as NavigationStart.
- Conditionally disable animations.
Angular 6 was released on May 4, 2018.. This is a major release focused less on the underlying framework, and more on the toolchain and on making it easier to move quickly with Angular in the future, like: ng update, ng add, Angular Elements, Angular Material + CDK Components, Angular Material Starter Components, CLI Workspaces, Library Support, Tree Shakable Providers, Animations Performance Improvements, and RxJS v6.
Angular 7 is slated to be released in September or October 2018. On August 2, 2018 the first beta of Angular 7 was published. One of the highlights is the expected release of Ivy, a backwards compatible, completely new render engine based on the incremental DOM architecture. Ivy has been engineered with Tree shaking in mind, which means that application bundles will only include the parts of Angular source code that is actually used by the application.
Each version is expected to be backward-compatible with the prior release. Google pledged to do twice-a-year upgrades.
- "Trigular, version 2: proprioception-reinforcement". blogspot.com. September 14, 2016. Retrieved 2017-03-18.
- "angular/CHANGELOG.md at master · angular/angular". GitHub. Retrieved 2018-08-29.
- "What's the difference between AngularJS and Angular?". gorrion.io. September 19, 2017. Retrieved 2018-01-28.
- "Angular: Branding Guidelines for AngularJS". Retrieved 2017-03-04.
- Coman Hamilton. "A sneak peek at the radically new Angular 2.0". Retrieved 2015-10-21.
- "Ng-Europe schedule".
- Coman Hamilton. "Angular 2.0 announcement backfires". Retrieved 2015-10-21.
- @angularjs (30 Apr 2015). "Angular 2 moves from Alpha to Developer Preview! Dev guide and API docs now available at ... angular.io/docs/js/latest" (Tweet). Retrieved 2015-10-21 – via Twitter.
- "Angular: Angular 2 Beta". angularjs.blogspot.it. Retrieved 2016-07-13.
- "angular/angular". GitHub. Retrieved 2016-05-04.
- "Ok... let me explain: it's going to be Angular 4.0". angularjs.blogspot.kr. Retrieved 2016-12-14.
- "Angular 4.0.0 Now Available". angularjs.blogspot.ca. Retrieved 2017-03-23.
- "Angular 4 coming in 2017, to be backwards compatible with Angular 2". react-etc.net. Retrieved 2016-12-14.
- Fluin, Stephen. "Version 5.0.0 of Angular Now Available". Retrieved 2 November 2017.
- "Version 6.0.0 of Angular Now Available". Retrieved 4 May 2018.
- "angular/angular". GitHub. Retrieved 2018-08-02.
- "Ivy Renderer (beta) · Issue #21706 · angular/angular". GitHub. Retrieved 2018-08-02.