0% found this document useful (0 votes)
238 views

Angular Questions

This document contains a set of multiple choice questions related to AngularJS. Some of the questions ask about common AngularJS concepts like controllers, directives, modules, and filters. Others ask about specific AngularJS directives, functions, and syntax. There are questions ranging from basic to intermediate to advanced levels of difficulty. The options provided for each question include technical terms and code snippets related to AngularJS.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
238 views

Angular Questions

This document contains a set of multiple choice questions related to AngularJS. Some of the questions ask about common AngularJS concepts like controllers, directives, modules, and filters. Others ask about specific AngularJS directives, functions, and syntax. There are questions ranging from basic to intermediate to advanced levels of difficulty. The options provided for each question include technical terms and code snippets related to AngularJS.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 14

Level

Basic Level
Question
1. Who is sometimes called as Father of AngularJS?
2. What is link function is used for in angular js
3. Angular initializes based upon which of the following scenario?
4. AngularJS directives are used in ________
5. How does an object or function can get hold of its dependencies in angular js?
6. There is a controller which takes a single parameter. We call it . . . . . Parameter
7. Which of the following directive allows us to use form?
8. In AngulsrJS HTML document is loaded and evaluated first in the browser. Mean while in AngularJS _________ ?
9. Is AngularJS extensible?
10. Angular Js is based on
11. Which of following is not valid AngularJs Filter
12. Which one of following is correct syntax for creating a module in AngularJs?
13. How do you share data between controller and view?
14. What is $routeProvider ?
15. Angular 1.x is written in
16. Which Angular Directive is used to disable an Element?
17. AngularJS directives are used in ____________
18. AngularJS directives can be written in Templates as
Option 1 Option 2
A. Brad Green B. Igor Minor
A. It is used for registering DOM listeners as well
B. Itasisinstance
used to retrieve
DOM manipulation
object instances as defined by provider
A. DOMContentLoaded event happens B. document.readyState is set to complete
A. Model B. View
A. Typically using the new operator, dependency B. Bycan referring
be created
to a global variable, dependency can be looked up
A. $param B. $control
A. ng-include B. ng-form
A. JavaScript file is loaded B. The angular global object is created
A. false B. true
A. MVC Architecture B. Decorator pattern
A. lowercase B. orderby
A. var myModule= angular.module(); B. var myModule= new Module();
A. using Model B. using services
A. A service B. A module
A. Java B. Javascript
A. ng-disabled B. ng-hide
A. Module B. Controller
A. Tag B. Attribute
Option 3
C. Misko Hevery
C. It is used for template DOM Manipulation and collect all of the directives
C. Both of the above
C. Controller
C. Dependency can be passed into where it is required
C. $scope
C. ng-bind
C. Your JavaScript which registers controller functions is executed
C. All of the above
C. MVVM Architectural pattern
C. email
C. angular.module("app", []);
C. using factory
C. A component
C. TypeScript
C. ng-false
C. Service
C. Class name
Option 4 Answer
D. Brian Ford C
D. The method traverses the DOM and matches the directives A
D. None of the above C
D. Module B
D. All of the above D
D. $scont C
D. ng-attach B
D. All of above D
D. None B
D. Observer Pattern C
D. currency C
D. None C
D. using $scope B
D. None A
D. None B
D. All of above A
D. View D
D. All of the above D
Level
Intermediate Level
Question
1. What is a controller in MVC?
2. Which of the followings are validation directives?
3. Which components can be injected as a dependency in AngularJS?
4. Which of the following is true about AngularJS expressions
5. AngularJS module can be created using ________
6. AngularJS expressions are written using.
7. What angular function is used to manually start up an angular application?
8. Can an HTML page have multiple “ng-app” directive for bootstrapping multiple AngularJS application?
9. Which directive initializes an AngularJS application?
10. Which Angular directive is used to binds the value of HTML controls (input, select, textarea) to application data?
Option 1 Option 2
A. It is a software Code that stores the data B. It is a software Code that renders the user interface
A. ng-required B. ng-minlength
A. Application Module B. constant
A. Expressions behave in same way as ng-bindB.directives
All of these
A. angular.module(); B. var myModule = new module();
A. double braces like {{ expression}} B. single braces like {expression}
A. angular.bootstrap B. angular.element
A. Yes B. No
A. ng-init B. ng-app
A. ng-cloak B. ng-bind
Option 3
C. It is a software Code that controls the interactions between the Model and View
C. ng-pattern
C. value
C. Expressions are written inside double braces like {{ expression}}
C. module.create();
C. small bracket like (expression)
C. angular.copy
C. None
C. ngSrc
C. ng-model
Option 4 Answer
D. None of the above C
D. All of the above D
D. factory A
D. Expressions are used to bind application data to html B
D. angular.create(); A
D. capital bracket like [expression] A
D. None of the above A
D. All B
D. ng-start B
D. ng-blur C
Level
Advanced Level
Question
1. What are various possible prefixes such as 'ng-' using which Angular directives (for example, ng-app) can be defined?
2. What is correct way to apply multiple filters in AngularJs.
Option 1 Option 2
A. 'ng-', 'data-ng-', 'ng:' B. 'ng-'
A. {{ expression | filter1 | filter2 | ... }} B. {{ expression | {filter1} | {filter2} | ... }}
Option 3 Option 4 Answer
C. 'ng-', 'data-ng-', 'ng:', 'x-ng-' D. 'ng-', 'data-ng-','x-ng-' C
C. {{ expression - {filter1} - {filter2} - ... }} D. {{ {filter1} | {filter2} | ...-expression}} A

You might also like