Top 150+ Solved Angular-JS MCQ Questions Answer
Q. Who is sometimes called as Father of AngularJS?
a. Brad Green
b. Igor Minor
c. Misko Hevery
d. Brian Ford
Q. Which of the following is true about ng-init directive?
a. ng-init directive initializes an AngularJS Application dat
b. ng-init directive is used to put values to the variables to be used in the application.
c. Both of the above.
d. None of the above.
Q. Which of the following directive is used to initialize an angular app?
a. ng-model
b. ng-app
c. ng-controller
d. None of the above
Q. ng-app directive defines and links an AngularJS application to HTML.
a. false
b. true
c. none
d. all
Q. AngularJS expressions are written using.
a. double braces like {{ expression}}
b. single braces like {expression}
c. small bracket like (expression)
d. capital bracket like [expression]
Q. Angular initializes based upon which of the following scenario?
a. DOMContentLoaded event happens
b. document.readyState is set to complete
c. Both of the above
d. None of the above
Q. Which components can be injected as a dependency in AngularJS?
a. Application Module
b. constant
c. value
d. factory
Q. Directives can be applied to which all element type?
a. Element
b. Attribute
c. Comment
d. All of the above
Q. An Angular application can be initialized on ______?
a. Only HTML element
b. ANY element
c. none
d. all
Q. Can an HTML page have multiple “ng-app” directive for bootstrapping multipleAngularJS application?
a. Yes
b. No
c. none
d. all
Q. With more than one ng-app in an HTML document (an HTML page), are all of themautomatically initialized?
a. Yes
b. No
c. No, only one app is automatically initialized. Others have to manually initialized.
d. none of the above