AngularJS Quiz | Set-1
Question 1 |
Angular.js is the combination of which of the following languages ?
HTML and PHP | |
HTML and CrossScript | |
HTML and Bootstrap | |
HTML and TypeScript |
Discuss it
TypeScript is preferable for creating the app so angular is a combination of Html and JavaScript language.
Question 2 |
MVC | |
VMC | |
MCV | |
CVM |
Discuss it
Question 3 |
(expression) | |
{{expression}} | |
{({expression})} | |
[expression] |
Discuss it
Question 4 |
Which of the following is the way to manually start the application in Angular?
angular. bootstrap | |
angular.element | |
angular. copy | |
None of the above |
Discuss it
angular. bootstrap is the functional component in core ng modules. It is the process of manually starting the application, angular. bootstrap provides more control over the initialization process.
Question 5 |
What of the following is the correct way for applying multiple filters in AngularJS ?
{{ expression | filter1 | filter2}} | |
{{ expression | {filter1} | {filter2} }} | |
{{ expression - {filter1} - {filter2}}} | |
{{ {filter1} | {filter2} | ...expression}} |
Discuss it
The correct syntax for applying the multiple filters is{{ expression | filter1 | filter2}}.
Question 6 |
ng-cloak | |
ng-bind | |
ng-model | |
ng-blur |
Discuss it
Question 7 |
ar myModule= module(); | |
var myModule= new Module(); | |
angular.module("app", []); | |
var Module= new Module(my); |
Discuss it
Question 8 |
Which of the below templates is used for writing the AngularJs directive ?
Tag | |
Attribute | |
Class name | |
All of the above |
Discuss it
A Template is used for rendering the AngularJs component so the example of templates for writing the AngularJs directive is Tag, Attribute,className, etc.
Question 9 |
The component which is used for adding the dependency in AngularJS application are:
Value | |
Factory | |
Constant | |
Application Module |
Discuss it
The application module is used for adding the dependency in the angular application and making the component more configurable. It is used for the block of code and is connected to the application domain.
Question 10 |
Server Side push | |
Use of Comment | |
Use of pushing | |
Use of include |
Discuss it