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

Explaination

angular.module is used to create AngularJS modules along with its dependent modules. It is primarily used to create application module.

Q 5 - AngularJS needs data in JSON format to populate its model.

A - true

B - false

Answer : A

Explaination

AngularJS needs data in JSON format to populate its model.

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 - Filters select a subset of items from an array and return a new array.

A - true

B - false

Answer : A

Explaination

Filters select a subset of items from an array and return a new array.

Q 8 - Being JavaScript only framework, application written in AngularJS are not safe and secure.

A - true

B - false

Answer : A

Explaination

Being JavaScript only framework, application written in AngularJS are not safe and secure.

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 - Inbuilt services are always prefixed with $ symbol.

A - true

B - false

Answer : A

Explaination

Inbuilt services are always prefixed with $ symbol.

angularjs_questions_answers.htm
Advertisements