Sunday, July 30, 2017

Advantages of AngularJS

  • Open source JavaScript MVC framework.
  • Supported by Google
  • No need to learn another scripting language. It's just pure JavaScript and HTML.
  • Supports separation of concerns by using MVC design pattern.
  • Built-in attributes (directives) makes HTML dynamic.
  • Easy to extend and customize.
  • Supports Single Page Application.
  • Uses Dependency Injection.
  • Easy to Unit test.
  • REST friendly.

Following are the advantages of AngularJS over other JavaScript frameworks:
  • Dependency Injection: Dependency Injection specifies a design pattern in which components are given their dependencies instead of hard coding them within the component.
  • Two way data binding: AngularJS creates a two way data-binding between the select element and the orderProp model. orderProp is then used as the input for the orderBy filter.
  • Testing: Angular JS is designed in a way that we can test right from the start. So, it is very easy to test any of its components through unit testing and end-to-end testing.
  • Model View Controller: In Angular JS, it is very easy to develop application in a clean MVC way. You just have to split your application code into MVC components i.e. Model, View and the Controller. Directives, filters, modules, routes etc.

No comments:

Post a Comment