
Universal server rendering- It is the library which is used to make building universal apps a smooth experience. Some new features were added in Angular 2 which includes: 25) What is the difference between constructor and ngOnlnit in Angular js?Īngular 2 is a platform that encompasses a wide range of capabilities. 24) What do you understand by a template variable? How is it used?. 23) What do you mean by a structural directive in Angular 2?. 22) What would you have in a shared module in Angular 2 ?. 21) List out the differences between ActivatedRoute and RouterState, with reference to Angular 2. Angular2 unresponsive script firefox how to#
20) How to cache an observable data in Angular 2 ?. 17) List the differences between Angular 2 components vs. 16) What is the difference between observable and promises?. 15) How do you define transition between two states in angular?. 14) List some advantages of Angular 2 over Angular1. 13) Why are decorators used in Angular 2 ?. 12) Explain Angular 2 hidden property ?. 10) List the modern browsers supported by Angular 2. 9) Explain component specific hooks in Angular?. 7) What is the use of ngForTrackBy directive in Angular?. 6) List the key components of Angular 2 ?. 5) Explain the concept of lazy loading in Angular 2?. 4) When to use Ngoninit and constructor in Angular 2 ?.
3) How to declare a component in Angular 2 ?.2) What are the new features of Angular 2?.