What's new in angular 2? Why you used angular 2?



What's new in angular 2? Why you used angular 2?..

Answer / Kumar Sonu

Angular 2, also known as Angular v2, is a complete rewrite of AngularJS. It introduces a lot of new features such as TypeScript support, a modular architecture (with a component-based system), a simpler template syntax, and improved performance due to the use of Ahead-of-Time compilation (AOT). I used Angular 2 because it offers a more modern and efficient way to build dynamic web applications.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is the difference between a link and compile in angularjs?

1 Answers  


What is a controller in angularjs?

1 Answers  


Explain what is dependency injection in angularjs?

1 Answers  


Which is the core module of AngularJS?

1 Answers  


What is the difference between $scope and scope?

1 Answers   TCS,


Explain what is scope in angularjs?

1 Answers  


How to set http request header in angular 4?

1 Answers  


What is the difference between a provider, a service and a factory in angular?

1 Answers  


When dependent modules of a module are loaded?

1 Answers  


How to enable caching in angular 1.x?

1 Answers  


What is directives?

1 Answers  


What is data binding and its types?

1 Answers  


Categories