Sail E0 Webinar

MCQs

Total Questions : 18 | Page 2 of 2 pages
Question 11. AngularJS expressions are written using.
  1.    double braces like {{ expression}}
  2.    single braces like {expression}
  3.    small bracket like (expression)
  4.    capital bracket like [expression]
 Discuss Question
Answer: Option A. -> double braces like {{ expression}}




Question 12. What angular function is used to manually start up an angular application?
  1.    angular.bootstrap
  2.    angular.element
  3.    angular.copy
  4.    None of the above
 Discuss Question
Answer: Option A. -> angular.bootstrap




Question 13. What is link function is used for in angular js?
  1.    It is used for registering DOM listeners as well as instance DOM manipulation
  2.    It is used to retrieve object instances as defined by provider
  3.    It is used for template DOM Manipulation and collect all of the directives
  4.    The method traverses the DOM and matches the directives
 Discuss Question
Answer: Option A. -> It is used for registering DOM listeners as well as instance DOM manipulation




Question 14. AngularJS directives are used in ________
  1.    Model
  2.    View
  3.    Controller
  4.    Module
 Discuss Question
Answer: Option B. -> View




Question 15. How does an object or function can get hold of its dependencies in angular js?
  1.    Typically using the new operator, dependency can be created
  2.    By referring to a global variable, dependency can be looked up
  3.    Dependency can be passed into where it is required
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above




Question 16. Which of the following directive allows us to use form?
  1.    ng-include
  2.    ng-form
  3.    ng-bind
  4.    ng-attach
 Discuss Question
Answer: Option B. -> ng-form




Question 17. There is a controller which takes a single parameter. We call it . . . . . parameter.
  1.    $param
  2.    $control
  3.    $scope
  4.    $scont
 Discuss Question
Answer: Option C. -> $scope




Question 18. In AngulsrJS HTML document is loaded and evaluated first in the browser. Mean while in AngularJS _________ ?
  1.    JavaScript file is loaded
  2.    The angular global object is created
  3.    Your JavaScript which registers controller functions is executed
  4.    All of above
 Discuss Question
Answer: Option D. -> All of above




Latest Videos

Latest Test Papers