You are on page 1of 3

S.

No
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Questions
Service is a _.
Who creates new services required by applications?
@Service decorator is used to create a new Service.
Which of the following provides data to components?
You define Service in __.
PATCH method is used when sending passwords or other sensitive information.
Observable can handle multiple events.
Promise returns single value when calls.
In a HTTP call, where is the data fetched from?
Observable returns only single object in HTTP request.
Which mechanism allows user to navigate between components / views?
Which property of “Routes” define the path of the component.
Router defines mapping of URL to .
Which of the following is affected / changed on loading components?
EventEmitter is a defined in @angular/core module used to emit custom events.
Which is not a router guard type?
In Reactive forms, the HTML of the forms are automatically created.
How to prevent Angular2 from auto-validating form?
Which of the following will be “true” if user changed the value of control?
FormGroups can nest inside other FormGroups.
Which function bootstraps the form to its pristine state?
You add 'novalidate' attribute to form, to prevent browser from automatically validating.
You place ___ where you want the components inserted.
Which is NOT an operator of Observables?
_ is not a primary HTTP verb.
Promise is cancellable.
Non-parameterised routes always take priority over parameterised routes.
_ decorator creates services.
Which property describes the path you want to redirect the user?
Which decorator is optional if the class has any other decorator?
FormsModule is imported from @angular/_ in Model Driven Form.
_ acts as container to store all the services required for the creation of component.
Answers
Class
Providers
0
Services
constructor
1
1
1
API
1
Routing
path
Component
URL
Class
CanDeactivateChild
0
novalidate
dirty
1
reset
1
router-outlet
geo
FETCH
0
1
@injectable
redirectTo
@injectable
none of these
providers

You might also like