AngularJS Online Quiz



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 - Is AngularJS code unit testable?

A - false

B - true

Answer : B

Explaination

AngularJS code is unit testable.

Answer : A

Explaination

AngularJS expressions are written inside double braces like {{ expression}}.

Answer : C

Explaination

ng-disabled directive disables/enables a given control.

Q 5 - Use novalidate with a form declaration to disable any browser specific validation.

A - true

B - false

Answer : A

Explaination

Use novalidate with a form declaration to disable any browser specific validation.

Q 6 - Which components can be injected as a dependency in AngularJS?

A - Application Module

B - constant

C - value

D - factory

Answer : A

Explaination

Application Module can not be injected as dependency.

Q 7 - Templates are the rendered view with information from the controller and model.

A - true

B - false

Answer : A

Explaination

Templates are the rendered view with information from the controller and model.

Q 8 - AngularJS uses dependency injection and make use of separation of concerns.

A - false

B - true

C -

D -

Answer : B

Explaination

AngularJS uses dependency injection and make use of separation of concerns.

Q 9 - filter filter is applied to an expression using pipe character.

A - true

B - false

Answer : A

Explaination

filter filter is applied to an expression using pipe character.

Q 10 - We can use $dirty and $invalid flags to do the form validations.

A - true

B - false

Answer : A

Explaination

angularjs_questions_answers.htm
Advertisements