Angular JS Objective Questions and Answers

Test your AngularJS knowledge with carefully curated multiple-choice questions covering core concepts such as ng-app, directives, modules, dependency injection, MVC architecture, expressions, services, providers, and application initialization.

Practice Angular JS MCQs with Detailed Explanations

Answer at least 12 questions to submit.

1.
Which of the following is true about ng-app directive?
2.
How angular.module works?
3.
Which of the following is true about ng-init directive?
4.
Which of the following directive is used to initialize an angular app?
5.
AngularJS expressions are written using.
6.
Angular initializes based upon which of the following scenario?
7.
With more than one ng-app in an HTML document (an HTML page), are all of them automatically initialized?
8.
What are various possible prefixes such as ‘ng-‘ using which Angular directives (for example, ng-app) can be defined?
9.
What are various possible ways in which angular application can be initialized?
10.
What angular function is used to manually start up an angular application?
11.
Which components can be injected as a dependency in AngularJS?
12.
Which of the following is true about AngularJS service?
13.
What is View in MVC?
14.
Which of the following is true about $error?
15.
Which of the following is true about provider?
16.
Which of the following is true about ng-bind directive?
17.
Which of the following is true about $dirty flag?
18.
At framework level, how does Angular retrieve the matching elements for processing?
19.
Directives can be applied to which all element type?
20.
There is a controller which takes single parameter. We call it . . . . . parameter.
21.
If the data obtained from the model contains HTML elements, these are escaped before being inserted into the HTML template. The escaping means that the HTML is displayed as text, and not as HTML. This is done to prevent which of the following?
22.
First the HTML document is loaded into the browser, and evaluated by the browser. At this time the AngularJS does which of the following?
Answered: 0 / 22