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

Answer : C

Explaination

ng-init directive initializes an AngularJS Application data. It is also used to put values to the variables to be used in the application.

Answer : B

Explaination

Uppercase filter converts a text to upper case text. It is simply added to AngularJS expression to filter out the result.

Answer : C

Explaination

ng-show directive shows/hides a given control.

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 - factory method is used to define a factory which can later be used to create services as and when required.

A - true

B - false

Answer : A

Explaination

factory method is used to define a factory which can later be used to create services as and when required.

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 - ng-model binds the values of AngularJS application data to HTML input controls.

A - true

B - false

Answer : A

Explaination

ng-model binds the values of AngularJS application data to HTML input controls.

Q 9 - AngularJS expressions behave in same way as ng-bind directives.

A - true

B - false

Answer : A

Explaination

AngularJS expressions behave in same way as ng-bind directives.

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
E-Books Store