Angular – a framework for dynamic web application. It was released in 2011 and it is maintained by Google and open-source community. It helps you organize the HTML, CSS and Javascript code.
Angular 2 is faster that Angular 1.
Angular 2 uses components instead of controlers and scope in Angular 1.
Data binding is more intuitive.
Creating custom directives is more simpler.
Services are now a class.
Other small improvements.
You can use Javascript with Angular 2 but not all browsers support the newest version of Javascript.
Workaround – transpile – write code the code in latest version of Javascript and transpile it into Javascript compatible with all browsers.
- Babel
- Typescript – superset of Javascript (including the ES2015 features) developed by Microsoft. It adds type checking and object oriented features.