Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/angular/angular
/ ngOnDestroy
Method
ngOnDestroy
packages/forms/src/directives/ng_model.ts:284–286 ·
view source on GitHub ↗
@docs-private
()
Source
from the content-addressed store, hash-verified
282
283
/** @docs-private */
284
ngOnDestroy(): void {
285
this.formDirective?.removeControl(this);
286
}
287
288
/**
289
* Internal control directive creation lifecycle hook.
Callers
nothing calls this directly
Calls
1
removeControl
Method · 0.65
Tested by
no test coverage detected