MCPcopy Index your code
hub / github.com/angular/angular / Service

Interface Service

packages/core/src/di/service.ts:57–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 * @publicApi
56 */
57export interface Service {
58 /**
59 * Determines whether the service should be provided automatically or by the user.
60 * Defaults to `true`.
61 */
62 autoProvided?: boolean;
63
64 /**
65 * A function to invoke to create a value for this service.
66 */
67 factory?: () => unknown;
68}
69
70/**
71 * Service decorator and metadata.

Callers 15

compiler.tsFile · 0.90
application_ref.tsFile · 0.90
form_builder.tsFile · 0.90
xsrf.tsFile · 0.90
fetch.tsFile · 0.90
xhr.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…