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

Class TestViewProvidersComp

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

Source from the content-addressed store, hash-verified

104}
105
106@Component({
107 viewProviders: [FancyService],
108 template: `injected value: {{ fancyService.value }}`,
109})
110class TestViewProvidersComp {
111 constructor(private fancyService: FancyService) {}
112}
113
114@Directive({
115 selector: '[someDir]',

Callers

nothing calls this directly

Calls 1

ComponentInterface · 0.90

Tested by

no test coverage detected