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. Angular is a complete rewrite from the same team that built AngularJS.
Video Angular (application platform)
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 main architectural concept
- 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:
- 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 ES6:
- Lambdas
- Iterators
- For/Of loops
- Python-style generators
- Reflection
- Dynamic loading
- Asynchronous template compilation
- Replacing controllers and
$scope
with components and directives - a component is a directive with a template - Reactive programming support using RxJS
Maps Angular (application platform)
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 with "AngularJS" referring to the 1.X versions and "Angular" without the "JS" referring to versions 2 and up.
Version 2.0.0
Angular 2.0 was announced at the ng-Europe conference 22-23. September 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.
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. 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.
Version 5.0.0
Angular 5 was released on November 1, 2017. Key improvements in Angular 5 include support for progressive Web apps, a build optimizer and improvements related to Material Design.
Future releases
Angular 6 release will be pushed back to March or April 2018, with Angular 7 showing up in September or October 2018. Each version is expected to be backward-compatible with the prior release. Google pledged to do twice-a-year upgrades.
References
External links
- Official website
- Archived website (Angular 2)
- Angular User Registration and Login Tutorial
Source of article : Wikipedia