What are the new features of Angular 2?

devquora
devquora

Posted On: Feb 22, 2018

 

Angular 2 is a platform that encompasses a wide range of capabilities. Some new features were added in Angular 2 which includes:

  • Universal server rendering- It is the library which is used to make building universal apps a smooth experience. It is an important feature of Angular 2.
  • A mobile toolkit- It provides all the mobile toolkit and techniques to build high-performance mobile applications. The web applications which are developed using the mobile toolkit can be loaded on any device with or without internet connection which is a great advantage.
  • A command line interface-it can generate components, routes, services, and pipes with the help of commands.
  • Data binding- data binding has been improved in Angular 2. So, whatever DOM element property you need to bind, you just wrap it in square brackets. E.g.-
    <img[src]='product.image' />
  • Modular- various modules have been removed from angular’s core, which has resulted in better performance.
  • Modern- Angular 2 has been targeted as modern browsers in which various hacks that make angular harder to develop have been removed.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Angular 2 Interview Questions

    What is Angular 2 ?

    Angular 2 is a completely revived component-based framework in which an application is a tree of loosely coupled compon..

    Angular 2 Interview Questions

    List some advantages of Angular 2 over Angular1.

    Angular 2 is a re-written version of Angular1 and not an update. The best way to compare Angular 2 and Angular 1 is by f..

    Angular 2 Interview Questions

    How do you define transition between two states in angular?

    Transitions between two states take place so that we can build simple animations between two states driven by a model at..