Angular (application platform)
| Developer(s) | |
|---|---|
| Initial release | September 14, 2016[1] |
| Stable release |
4.2.4 / June 21, 2017[2]
|
| Preview release |
4.3.0-beta / June 21, 2017[3]
|
| Repository | github |
| Development status | Active |
| Written in | TypeScript |
| Platform | Cross-platform, modern browsers only |
| Type | JavaScript, Single-page application Framework |
| License | MIT License |
| Website | angular |
Angular (commonly referred to as "Angular 2+" or "Angular 2") 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 to address all of the parts of the developer's workflow while building complex web applications. Angular is a complete rewrite from the same team that built AngularJS.
Contents
Differences between Angular and AngularJS
Angular was a ground-up rewrite of AngularJS and has many unique qualities.
- Angular does not have a concept of "scope" or controllers, instead it uses a hierarchy of components as its main architectural concept
- Angular has a simpler expression syntax, focusing on
"[ ]"for property binding, and"( )"for event binding - Mobile development – desktop development is much easier when mobile performance issues are handled first
- Modularity – much core functionality has moved to modules, producing a lighter, faster core
- Modern browsers only – reducing the need for browser compatibility workarounds
- Angular recommends the use of Microsoft's TypeScript language, which introduces the following features:
- Class-based Object Oriented Programming
- Static Typing
- Generics
- TypeScript is a superset of ECMAScript 6 (ES6), and is backwards compatible with ECMAScript 5 (i.e.: JavaScript). Angular also includes the benefits of ES6:
- Lambdas
- Iterators
- For/Of loops
- Python-style generators
- Reflection
- Improved dependency injection – bindings make it possible for dependencies to be named
- Dynamic loading
- Asynchronous template compilation
- Simpler Routing
- Replacing controllers and
$scopewith components and directives – a component is a directive with a template - Reactive programming support using RxJS
History
Naming
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.[4]
Version 2.0.0
Angular 2.0 was announced at the ng-Europe conference 22-23. September 2014.[5] The drastic changes in the 2.0 version created considerable controversy among developers.[6] On April 30, 2015, the Angular developers announced that Angular 2 moved from Alpha to Developer Preview.[7] Angular 2 can be downloaded from the official website. Angular 2 moved to Beta in December 2015,[8] and the first release candidate was published in May 2016.[9] The final version was released on September 14, 2016.
Version 4.0.0
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.[10] The final version was released on March 23, 2017.[11] Angular 4 is backward compatible with Angular 2.[12]
References
- ^ "Angular, version 2: proprioception-reinforcement". blogspot.com. September 14, 2016. Retrieved March 18, 2017.
- ^ "angular/CHANGELOG.md at Master". GitHub. Retrieved 2017-06-27.
- ^ "angular/CHANGELOG.md at Master". GitHub. Retrieved 2017-06-27.
- ^ "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.
- ^ 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.