Top 50+ Solved AngularJS Dependency Injection, Services MCQ Questions Answer

From 1 to 15 of 34

Q. Angular 2 make use of the . . . . . . . module syntax.

a. ES2016a

b. ES2017

c. ES2016

d. ES2015

  • d. ES2015

Q. In Angular 2, applications rely upon the . . . . . . . method to load top-levelcomponents

a. loadstrap

b. bootstrap

c. bootload

d. none of above

  • b. bootstrap

Q. In Angular 2.0, the template compilation process is . . . . . . .

a. synchronous

b. asynchronous

c. none

d. all

  • b. asynchronous

Q. On the opposite side of event bindings (()) lie Angular's square-bracket syntax ([]) which signify a . . . . . .

a. property binding

b. class binding

c. style binding

d. both A & B

  • a. property binding

Q. The router in Angular 2.0 has been reworked to be simple, yet extensible. Itwill include the following basic features:

a. Simple JSON-based Route Config

b. Optional Convention over Configuration

c. Static, Parameterized and Splat Route Patterns

d. URL Unresolver

  • a. Simple JSON-based Route Config

Q. What is the purpose of $http?

a. It is an inbuilt service used to make ajax call to get the server dat

b. It is the Http protocol

c. It generates hyper text mark up language

d. None

  • a. It is an inbuilt service used to make ajax call to get the server data.

Q. What MVC stands for?

a. Model View Control

b. Model View Controller

c. Main View Controller

d. Main View Control

  • b. Model View Controller

Q. Can AngularJS be used to create a service?

a. May be

b. Can be

c. Yes

d. No

  • c. Yes

Q. Which of the following is true about orderby filter?

a. orderby filter orders the array based on provided

b. orderby filter is used to filter the array to a subset of it based on provided criteria

c. Both of the above

d. None of the above

  • a. orderby filter orders the array based on provided

Q. Which of the following is true about ng-app directive?

a. ng-app directive defines and links an AngularJS application to HTML

b. ng-app directive indicates the start of the application

c. Both of the above

d. None of the above

  • c. Both of the above

Q. The ______ tag defines a division or a section or block in an HTML document.

a. <div>

b. <block>

c. <span>

d. none of these.

  • a. <div>
Subscribe Now

Get All Updates & News