AngularJS Online Quiz


Advertisements


Following quiz provides Multiple Choice Questions (MCQs) related to AngularJS Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Answer : C

Explaination

ng-app directive defines and links an AngularJS application to HTML. It also indicate the start of the application.

Answer : C

Explaination

Model is the lowest level of the pattern responsible for maintaining data.

Answer : B

Explaination

Currency filter formats text in a currency format. It is simply added to AngularJS expression to filter out the result.

Answer : D

Explaination

$routeProvider is the key service which set the configuration of urls, maps them with the corresponding html page or ng-template, and attaches a controller with the same.

Q 6 - config phase is the phase during which AngularJS bootstraps itself.

A - true

B - false

Answer : A

Explaination

config phase is the phase during which AngularJS bootstraps itself.

Q 7 - Scope act as glue between controller and view.

A - true

B - false

Answer : A

Explaination

Scopes are objects that refer to the model. They act as glue between controller and view.

Q 8 - ng-model binds the values of AngularJS application data to HTML input controls.

A - true

B - false

Answer : A

Explaination

ng-model binds the values of AngularJS application data to HTML input controls.

Q 9 - Each controller accepts $scope as a parameter which refers to the application/module that controller is to control.

A - true

B - false

Answer : A

Explaination

Each controller accepts $scope as a parameter which refers to the application/module that controller is to control.

Q 10 - AngularJS bootstraps itself during config phase.

A - true

B - false

Answer : A

Explaination

AngularJS bootstraps itself during config phase.


angularjs_questions_answers.htm

Advertisements