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

Q 2 - Which of the following is not a core AngularJS directive.

A - ng-app

B - ng-model

C - ng-bind

D - ng-state

Answer : D

Explaination

ng-state is not an AngularJS directive.

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 : B

Explaination

$invalid flag states that form has invalid data.

Q 6 - service method is used to create a service whose purpose is to do some defined task.

A - true

B - false

Answer : A

Explaination

service method is used to create a service whose purpose is to do some defined task.

Q 7 - Is AngularJS extensible?

A - false

B - true

Answer : B

Explaination

Yes! In AngularJS we can create custom directive to extend AngularJS existing functionalities.

Q 8 - Templates can be a single file (like index.html) or multiple views in one page.

A - true

B - false

Answer : A

Explaination

Templates can be a single file (like index.html) or multiple views in one page using "partials".

Q 9 - AngularJS Expressions are used to bind application data to html.

A - true

B - false

Answer : A

Explaination

AngularJS Expressions are used to bind application data to html.

Q 10 - In controllers, model data is accessed via $scope object.

A - false

B - true

Answer : B

Explaination

In controllers, model data is accessed via $scope object.

angularjs_questions_answers.htm
Advertisements