Easy Tutorial
❮ Angularjs2 Typescript Setup Angularjs2 Forms ❯

Angular 2 Tutorial

Angular2 is an open-source JavaScript library maintained by Google, used to assist in running single-page applications.

Angular2 is an upgrade from Angular 1.x, with significant performance improvements and strong support for web development components.

Angular2 was released in September 2016 and is developed based on ES6.


Prerequisites for Learning This Tutorial

Before starting this tutorial, you need to have a basic understanding of front-end technologies: HTML, CSS, JavaScript. Additionally, you should be familiar with NPM and TypeScript.


Differences Between Angular2.x and Angular1.x

The differences between Angular2.x and Angular1.x are akin to those between Java and JavaScript, or the difference between Leifeng and Leifeng Pagoda. Therefore, when learning Angular2.x, you need to be prepared to learn a new language.


Running Conditions

Since various environments (browsers or Node) currently do not support ES6 code, some shim and polyfill (required for IE) are needed to convert ES6 code into ES5 format and ensure it runs correctly in browsers.

From the diagram, it can be seen that the following module loaders are required for ES5 browsers:


Related Reference Documents

❮ Angularjs2 Typescript Setup Angularjs2 Forms ❯