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

Class TestViewProvidersComp

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

Source from the content-addressed store, hash-verified

112}
113
114@Component({
115 selector: 'my-service-comp',
116 viewProviders: [FancyService],
117 template: `injected value: {{ fancyService.value }}`,
118 standalone: false,
119})
120class TestViewProvidersComp {
121 constructor(private fancyService: FancyService) {}
122}
123
124@Directive({
125 selector: '[someDir]',

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…