- AngularJS - Home
- AngularJS - Overview
- AngularJS - Environment Setup
- AngularJS - MVC Architecture
- AngularJS - First Application
- AngularJS - Directives
- AngularJS - Expressions
- AngularJS - Controllers
- AngularJS - Filters
- AngularJS - Tables
- AngularJS - HTML DOM
- AngularJS - Modules
- AngularJS - Forms
- AngularJS - Includes
- AngularJS - AJAX
- AngularJS - Views
- AngularJS - Scopes
- AngularJS - Services
- AngularJS - Dependency Injection
- AngularJS - Custom Directives
- AngularJS - Internationalization
- AngularJS - ToDo Application
- AngularJS - Notepad Application
- AngularJS - Bootstrap Application
- AngularJS - Login Application
- AngularJS - Upload File
- AngularJS - In-line Application
- AngularJS - Nav Menu
- AngularJS - Switch Menu
- AngularJS - Order Form
- AngularJS - Search Tab
- AngularJS - Drag Application
- AngularJS - Cart Application
- AngularJS - Translate Application
- AngularJS - Chart Application
- AngularJS - Maps Application
- AngularJS - Share Application
- AngularJS - Weather Application
- AngularJS - Timer Application
- AngularJS - Leaflet Application
- AngularJS - Lastfm Application
- AngularJS Useful Resources
- AngularJS - Questions and Answers
- AngularJS - Quick Guide
- AngularJS - Useful Resources
- AngularJS - Discussion
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.
Q 2 - Which of the following is true about ng-bind directive?
A - ng-bind directive binds the AngularJS Application data to HTML tags.
B - ng-bind updates the model created by ng-model directive to be displayed in the html tag.
C - ng-bind updates html control data when controller changes the model.
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.
Q 3 - What is View in MVC?
A - View represents a database view.
B - View is responsible for displaying all or a portion of the data to the user.
Answer : B
Explaination
View is responsible for displaying all or a portion of the data to the user.
Q 4 - Which of the following is true about orderby filter?
A - orderby filter orders the array based on provided criteria.
B - orderby filter is used to filter the array to a subset of it based on provided criteria.
Answer : A
Explaination
orderby filter orders the array based on provided criteria. It is simply added to AngularJS expression to order the result.
Q 5 - Which of the following is true about ng-include directive?
A - Embed HTML pages within a HTML page using ng-include directive
B - Embed JS files within a HTML page using ng-include directive
Answer : A
Explaination
Using AngularJS, we can embed HTML pages within a HTML page using ng-include directive.
Q 6 - Using factory method, we first define a factory and then assign method to it.
Answer : B
Explaination
Using factory method, we first define a factory and then assign method to it.
Q 7 - Custom directives are used in AngularJS to extend the functionality of HTML.
Answer : A
Explaination
Custom directives are used in AngularJS to extend the functionality of HTML.
Answer : A
Explaination
ng-bind binds the AngularJS Application data to HTML tags.
Answer : A
Explaination
AngularJS expressions behave in same way as ng-bind directives.
Answer : A
Explaination
AngularJS bootstraps itself during config phase.
