Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ constructor
Method
constructor
packages/core/test/acceptance/di_spec.ts:588–590 ·
view source on GitHub ↗
(dirB: DirectiveB)
Source
from the content-addressed store, hash-verified
586
})
587
class
MyComp {
588
constructor(dirB: DirectiveB) {
589
log.push(`Comp (dep: ${dirB.value})`);
590
}
591
}
592
593
@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