What is the difference between Angular 2 and AngularJS?
AngularJS | Angular 2 | |
---|---|---|
1. | No mobile support | Mobile-oriented |
2. | Only supports Dart, ES6 and ES5 | Offer more language choices |
3. | Easy to set up | Dependent on libraries. Requires efforts to set up. |
4. | Based on controllers and scope | Component-based. |
BY Best Interview Question ON 08 Sep 2019