Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/angular/angular
/ constructor
Method
constructor
packages/core/test/acceptance/di_spec.ts:613–615 ·
view source on GitHub ↗
(dirB: DirectiveB)
Source
from the content-addressed store, hash-verified
611
})
612
class
MyComp {
613
constructor(dirB: DirectiveB) {
614
log.push(`Comp (dep: ${dirB.value})`);
615
}
616
}
617
618
@Component({
Callers
nothing calls this directly
Calls
5
SkipSelf
Interface · 0.90
Inject
Interface · 0.90
Optional
Interface · 0.90
get
Method · 0.65
push
Method · 0.45
Tested by
no test coverage detected