MCPcopy Create free account
hub / github.com/angular/angular / TestProvidersComp

Class TestProvidersComp

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

Source from the content-addressed store, hash-verified

96}
97
98@Component({
99 providers: [FancyService],
100 template: `injected value: {{ fancyService.value }}`,
101})
102class TestProvidersComp {
103 constructor(private fancyService: FancyService) {}
104}
105
106@Component({
107 viewProviders: [FancyService],

Callers

nothing calls this directly

Calls 1

ComponentInterface · 0.90

Tested by

no test coverage detected