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

Answer : C

Explaination

ng-model directive binds the values of AngularJS application data to HTML input controls. It creates a model variable which can be used with the html page and within the container control( for example, div) having ng-app directive.

Q 3 - AngularJS application expressions are pure JavaScript expressions.

A - true

B - false

Answer : A

Explaination

AngularJS application expressions are pure JavaScript expressions.

Answer : A

Explaination

$dirty flag states that value in the form has been changed.

Q 5 - Model available in $rootScope can be overridden by its all child scopes.

A - true

B - false

Answer : A

Explaination

Model available in $rootScope can be overridden by its all child scopes.

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

A - value

B - factory

C - service

D - All of the above.

Answer : D

Explaination

All of the above can be injected as dependency.

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 - With AngularJS, developer writes less code and gets more functionality.

A - false

B - true

Answer : B

Explaination

With AngularJS, developer writes less code and gets more functionality.

Q 9 - AngularJS uses two way data binding.

A - false

B - true

Answer : B

Explaination

AngularJS uses two way data binding.

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