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

Explaination

ng-bind directive binds the AngularJS Application data to HTML tags. ng-bind updates the model created by ng-model directive to be displayed in the html tag whenever user input something in the control or updates the html control's data when model data is updated by controller.

Answer : B

Explaination

Model View Controller or MVC as it is popularly called, is a software design pattern for developing web applications.

Answer : A

Explaination

orderby filter orders the array based on provided criteria. It is simply added to AngularJS expression to order the result.

Answer : B

Explaination

$invalid flag states that form has invalid data.

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 - Custom directives are used in AngularJS to extend the functionality of HTML.

A - true

B - false

Answer : A

Explaination

Custom directives are used in AngularJS to extend the functionality of HTML.

Q 8 - AngularJS uses one way data binding.

A - false

B - true

Answer : A

Explaination

No! AngularJS uses two way data binding.

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

A - false

B - true

Answer : B

Explaination

lowercase filter is applied to an expression using pipe character.

Q 10 - In AngularJS, Scope contains the model data.

A - true

B - false

Answer : A

Explaination

In AngularJS, Scope contains the model data.

angularjs_questions_answers.htm
Advertisements