- AngularJS Tutorial
- 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 Applications
- 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-init directive?
A - ng-init directive initializes an AngularJS Application data.
B - ng-init directive is used to put values to the variables to be used in the application.
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.
Q 3 - AngularJS expressions are written using.
A - double braces like {{ expression}}
B - single braces like {expression}
Answer : A
Explaination
AngularJS expressions are written inside double braces like {{ expression}}.
Q 4 - Which of the following is true about ng-show directive?
A - ng-show directive can show a given control.
Answer : C
Explaination
ng-show directive shows/hides a given control.
Answer : B
Explaination
AngularJS provides $http control which works as a service to make ajax call to read data from the server.
Q 6 - service method is used to create a service whose purpose is to do some defined task.
Answer : A
Explaination
service method is used to create a service whose purpose is to do some defined task.
Answer : A
Explaination
Filters select a subset of items from an array and return a new array.
Q 8 - Templates can be a single file (like index.html) or multiple views in one page.
Answer : A
Explaination
Templates can be a single file (like index.html) or multiple views in one page using "partials".
Q 9 - ng-init directive can be used to put values to the variables to be used in the application.
Answer : A
Explaination
ng-init directive can be used to put values to the variables to be used in the application.
Answer : A
Explaination
orderby filter is applied to an expression using pipe character.
To Continue Learning Please Login
Login with Google