Posts

Angular Question

What Is Angular Js? Angular JS is a framework to build large scale and high performance web application while keeping them as easy-to-maintain.  Following are the features of Angular JS framework. 1.Angular JS is a powerful JavaScript based development framework to create RICH Internet Application (RIA). 2.Angular JS provides developers options to write client side application (using JavaScript) in a clean MVC (Model View Controller) way. 3.Application written in Angular JS is cross-browser compliant. Angular JS automatically handles JavaScript code suitable for each browser. 4.Angular JS is open source, completely free, and used by thousands of developers around the world. It is licensed under the Apache License version 2.0. What Is Data Binding In Angular Js? Data binding is the automatic synchronization of data between model and view components. ng-model directive is used in data binding. What Is Scope In Angular Js? Scopes are objects that refer to the model...

AngularJS Tricky Questions

1. Mention some AngularJS directives and their purpose. 2. How to create Directive using AngularJS. Give an example. 3. Can we use the open-source Closure Library with Angular? How? 4. How could one create a single-page application using AngularJS? Which provider is used to achieve this objective? 5. Explain how MVC is achieved with AngularJS? What are the benefits of client-side MVC, in general? 6. What is restrict option in directive? Can you define multiple restrict options on a directive? 7. What are the differences between AngularJS module’s Service, Provider and Factory? 8. The following HTML is given <button ng-click=’showAlert()”>ALERT</button> How can the attached controller look like, to show an alert window when clicking on the button? 9. What is the difference between “.$digest()” and “.$apply()”? Why would you ever call “.$digest()” on a scope? 10. Explain AngularJS boot process. 11. How can be the permission denied errors handle...

Angularjs Only Questions

Angularjs components Features & Advantages of angularjs Constants variable ? How to create separate components ? Difference type of directives ? What is controller & how to use it ? What is scope? Form validation in AngularJS ? What is service? What is factory? Difference between service & factory ? What is $apply function in angularjs ? What is $digest function in angularjs ? How to make custom directive ? Any own directive you have created? What is ng-include, ng-class, ng-repeat? What is dependancy injection? What is routing in angularjs? What is single page application? How do you create own filter in angularjs ? How do you call rest api in angularjs ? Angular js events ? What is mvvm? What is angular controllers? What is a $watch? What is ng-model in angularjs? What are directives? What are the different types of directive? Angularjs interceptors ? What is ng-app in angularjs? What is ng-init in angularjs? What is injector? What ...

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...