Top 150+ Solved Angular-JS MCQ Questions Answer
Q. You can create bindings only for the data values that are added to the . . . . .object by the controller.
a. $action
b. $control
c. $scope
d. none of above
Q. The drawback of inline bindings is that AngularJS will not find and processevery set of {{ and }} characters in your content.
a. True
b. False
c. none
d. all
Q. When adding . . . . . and . . . . . . to a view, we are essentially instructing Angular to create data bindings that keep the model and view in sync.
a. extrapolations, interpolations
b. scopes, directives
c. directives, interpolation
d. none of above
Q. The . . . . . directive is used if you want to add or remove HTML elements fromthe DOM based on data in the model.
a. ng-switch
b. ng-model
c. ng-Disabled
d. ng-Cloak
Q. AngularJS applications are a mix of _____
a. HTML and PHP
b. HTML and CrossScript
c. HTML and AngularScript
d. HTML and JavaScriptcorrect
Q. How to include HTML content into another HTML?
a. Server Side push
b. Use of CommetD
c. Use of Polling
d. Use of include
Q. What is MVC (Mode View Controller)?
a. It is a services for Java built function
b. It is marker for DOM elements
c. It is a software design pattern for developing web applications
d. None of the above
Q. Which of the following is true about AngularJS service?
a. Services are JavaScript functions
b. Services are responsible to do specific tasks only
c. Inbuilt services are always prefixed with $ symbol
d. All of the above
Q. Which of the following is valid for AngualarJS module
a. var app = angular.module(["myApp","param");
b. var app = angular.module("myApp", []);
c. var app = angular.module();
d. var app = angular.module("myApp");
Q. What angular function is used to manually start up an angular application ?
a. angular.bootstrap
b. angular.element
c. angular.copy
d. None of the above
Q. Which of the following is true about
a. $routeProvider $routeProvider maps Urls with the corresponding html page or ng-template
b. $routeProvider attaches a controller with the view
c. All of these
d. $routeProvider is the key service which set the configuration of urls
Q. Which is the right format for calling a ng-bind function?
a. ng-bind
b. ng:bind
c. ng_bind
d. All the Above