angular js


Angular Js , the open source JavaScript framework is a winner in organizing and assisting web applications and single page applications. Created by Google to build single page applications, it is completely client-side and entirely JavaScript, so wherever JavaScript runs Angular JS also runs. The size less than 29kb makes Angular JS, highly minified and compressed. The beauty of Angular lies in the fact that every tool is designed such that it works with every other tool in an interconnected way. It uses the Model-View-Controller (MVC) utility to improve browser-based web applications.

Amazing Features of Angular JS

  • Two way data binding: – It is the most crucial and useful feature of Angular JS.

Data Binding in Classical Template System:

 Most templating systems bind data in only one direction: they merge template and model components together into a view. After the merge occurs, changes to the model or related sections of the view are NOT automatically reflected in the view. Worse, any changes that the user makes to the view are not reflected in the model. This means that the developer has to write code that constantly syncs the view with the model and the model with the view.

One Way Data Binding

Data Binding in Angular Templates:

Angular templates work differently. First the template (which is the uncompiled HTML along with any additional markup or directives) is compiled on the browser. The compilation step produces a live view. Any changes to the view are immediately reflected in the model, and any changes in the model are propagated to the view. The model is the single-source-of-truth for the application state, greatly simplifying the programming model for the developer.

Two Way Data Binding

  • MVC Capability

Angular JS does not require writing lengthy codes to connect the MVC components of split apps, which saves oodles of time and effort. Just split the app and let Angular do the rest for you by managing the components and also connecting them all by itself.

- Hrudya Raj