Posts

Showing posts from 2016

Angular JS 1.5 Questions

1. Explain data binding in AngularJS.  “Data-binding in Angular apps is the automatic synchronization of data between the model and view components. The way that Angular implements data-binding lets you treat the model as the single-source-of-truth in your application. The view is a projection of the model at all times. When the model changes, the view reflects the change, and vice versa.” There are two ways of data binding: 1                   Data mining in classical template systems 2                  Data binding in angular templates 2. Name the key features of AngularJS? The key features of AngularJS are: Scope : Scope detect the changes in the Model objects and creates an execution context for expressions. There is one root scope for the application with hierarchical children Scopes. It arranges the Model to the View and forward the events to the Controller. Controlle...