Microsoft Dot Net Master

Microsoft Dot Net Master
Microsoft Dot Net Master

Monday, March 9, 2015

Why Angular JS?

There are numerous of reasons to choose AngularJS as you web development framework. Some of them are listed below:
  1. It is based on MVC pattern which helps you to properly organize your web apps or web application.
  2. It extends HTML by attaching directives to your HTML markup with new attributes or tags and expressions in order to define very powerful templates.
  3. It also allows you to create your own directives, crafting reusable components that fill your needs and abstracting away all the DOM manipulation logic.
  4. It supports two-way data binding i.e. connects your HTML (views) to your JavaScript objects (models) seamlessly. In this way your model will be immediately reflected into your view without the need for any DOM manipulation or event handling (with jQuery).
  5. It encapsulates the behavior of your application in controllers which are instantiated with the help of dependency injection.
  6. It supports services that can be injected into your controllers to use some utility code to fulfill your need.
    For example, it provides $http service to communicate with REST service.
  7. It helps you to structure and test your JavaScript code very easily.
  8. Also, AngularJS is mature community to help you. It has widely support over the internet.

No comments:

Post a Comment