MCPcopy
hub / github.com/angular/angular / TestProvidersComp

Class TestProvidersComp

packages/platform-browser/test/testing_public_spec.ts:104–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104@Component({
105 selector: 'my-service-comp',
106 providers: [FancyService],
107 template: `injected value: {{ fancyService.value }}`,
108 standalone: false,
109})
110class TestProvidersComp {
111 constructor(private fancyService: FancyService) {}
112}
113
114@Component({
115 selector: 'my-service-comp',

Callers

nothing calls this directly

Calls 1

ComponentInterface · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…