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

Function factory

packages/core/test/acceptance/di_spec.ts:4132–4134  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

4130 it('should be able to provide an attribute token', () => {
4131 const TOKEN = new InjectionToken<string>('Some token');
4132 function factory(token: string): string {
4133 return token + ' with factory';
4134 }
4135 @Component({
4136 selector: 'my-comp',
4137 template: '...',

Callers 5

jit_spec.tsFile · 0.50
getFactoryOfFunction · 0.50
multiResolveFunction · 0.50
ɵɵarrowFunctionFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…