Select chapter



Basics (1.papers)

Sponsored Links


  

angularjs interview questions and answers

1
What is AngularJS ?
  1. AngularJS is a css framework.
  2. AngularJS is a javascript which 
    extends html attributes.
  3. AngularJS is a javascript framework which is a replacement for Jquery.
  4. AngularJS is a new
     language which is an alternative to AJAX.
Show Answer
Share Facebook gmail Twitter
2
what is an ng-directive in angularjs ?
  1. ng-directives extends html 
    attributes.
  2. ng-directive used for 
    communicating to sever.
  3. ng-directives used for 
Show Answer
Share Facebook gmail Twitter
3
Which of the following is used for representing 
expressions in angularJS?
  1. ng-expression directive.
  2. expression directive.
  3. {expression}
  4. {{expression}}
Show Answer
Share Facebook gmail Twitter
4
which of the following directive initializes 
angularjs application?
  1. ng-init
  2. ng-app
  3. ng-application
  4. none of the above
Show Answer
Share Facebook gmail Twitter
5
what is the use of ng-init directive?
  1. ng-inint used for initializing 
    variables.
  2. ng-init used for binding data.
  3. ng-init used for writing 
    conditional statements.
  4. ng-init used for 
    writing expressions.
Show Answer
Share Facebook gmail Twitter
6
what is the use of ng-model directive ?
  1. ng-model directive used for
     initializing angularJs variables.
  2. ng-model directive assigns value of html controls to application data.
Show Answer
Share Facebook gmail Twitter
7
what is the use of ng-bind directive ?
  1. ng-bind directive used for
     initializing angularJs variables.
  2. ng-bind directive assigns value of html controls to application data.
  3. ng-bind directive assigns application data to view or to html controls.
  4. none of the above
Show Answer
Share Facebook gmail Twitter
8
Which of the following syntax is correct for 
declaring objects in AngularJS?
  1. objectname={propertname:value1,propertyname=value2….}
  2. objectname={propertname:value1;propertyname=value2….}
  3. objectname=[propertname:value1;propertyname=value2….]
  4. none of the above
Show Answer
Share Facebook gmail Twitter
9
Which of the following syntax is correct for 
declaring arrays in AngularJS?
  1. arrayname=[value1,value2…]
  2. arrayname={value1,value2...}
  3. None of the above
Show Answer
Share Facebook gmail Twitter
10
what is the use of ng-repeat directive in 
angularJS?
  1. ng-repeat is used for performing 
    an action repeatedly.
  2. ng-repeat directive is similar to 
    a for loop.
  3. All of the above.
Show Answer
Share Facebook gmail Twitter
11
what is the use of ng-controller directive in 
angularJS?
  1. ng-controller directive used for 
    creating controllers in angularJS.
  2. ng-controller dierctive used for 
    assigning controller name to the view.
  3. ng-controller used for initializing variables.
  4. none of the above
Show Answer
Share Facebook gmail Twitter
12
what is the use of filters in angularjs?
  1. filters used for filtering data.
  2. few filters used for converting 
    one data type to other.
  3. both the options are correct.
  4. none of the above
Show Answer
Share Facebook gmail Twitter
13
what is the use of ng-click attribute in angularJS?
  1. ng-click used for assigning 
    controller name to view.
  2. ng-click allows to specify custome behaviour when user clicks on html elemnts.
  3. ng-click is an event in angularJS.
  4. none of the above
Show Answer
Share Facebook gmail Twitter
14
which of the following directives used for hiding 
any html element?
  1. ng-hide
  2. ng-show
  3. both ng-hide as well as ng-show
  4. none of the above
Show Answer
Share Facebook gmail Twitter
15
what is the use of ng-disable directive in angularJS?
  1. used for enabling or disabling angularJS application.
  2. used for enabling or disabling 
    angularJS Controllers.
  3. used for enabling or disabling html elements.
  4. none of the above
Show Answer
Share Facebook gmail Twitter
16
what is the use of ng-if in angularJS?
  1. ng-if usually used for removing or recreting html elements to dom.
  2. ng-if used for assigning initializing boolean variables.
  3. None of the above
Show Answer
Share Facebook gmail Twitter
Read more papers :