91-9990449935 0120-4256464 |
AngularJS Interview QuestionsA list of top frequently asked AngularJS interview questions and answers are given below. 1) What is AngularJS?AngularJS is a JavaScript framework i.e. used to create single web page application. It follows MVC (Model View Controller) pattern. It is open source, cross browser compliant and easy to maintain. 2) What are the advantages of AngularJS?
3) What are the disadvantages of AngularJS?
4) Is AngularJS dependent on JQuery?No. 5) What IDE's are currently used for the development of AngularJS?
6) What are the features of AngularJS?
7) What are directives in AngularJS?Directives are the markers on DOM element that is used to specify behavior on that DOM element. All AngularJS directives start with the word "ng". There are many in-built directives in AngularJS such as "ng-app", "ng-model", "ng-controller", "ng-repeat" etc. Let's see a simple example of AngularJS directive. 8) What are controllers in AngularJS?Controllers are JavaScript functions that are used to provide data and logic to HTML UI. It acts as an interface between Server and HTML UI. 9) What are the usage of controllers in AngularJS?AngularJS Controllers are used to:
10) What is data binding in AngularJS?Data Binding is the automatic synchronization of data between model and view. There are two ways of data binding:
11) What are services in AngularJS?Services are objects that can be used to store and share data across the application. AngularJS offers many built-in services such as $http i.e. used to make XMLHttpRequest. 12) What is scope in AngularJS?Scope is an object that represents application model. Each AngularJS application can have only one root scope but can have multiple child scopes. 13) What is template in AngularJS?A template consists of HTML, CSS and AngularJS directives that are used to render dynamic view. 14) What are expressions in AngularJS?Expressions are the code snippets that resolves to a value. AngularJS expressions are placed inside {{expression}}. For example: AngularJS supports one-time binding expressions. 15) What is the use of filter in AngularJS?A filter is used to format the value of expression to display the formatted output. AngularJS enables us to write our own filter. |