Angular’s NG8117 diagnostic means a text interpolation refers to a function without calling it. If you want to display the function’s return value, add parentheses: change {{ getValue }} to {{ getValue() }}. The diagnostic appears when strictTemplates is enabled, and Angular documents no additional requirement for this check.
What NG8117 means
NG8117 detects an uninvoked function in text interpolation. A template expression such as {{ getValue }} refers to the function itself; it does not call the function to obtain the value it returns. As a result, the interpolation will not work as expected.
As an Amazon Associate I earn from qualifying purchases.
Angular describes the rule as: “Functions in text interpolation should be invoked to return a value.” Angular’s NG8117 documentation shows a component method named getValue() that returns 'value' and flags a template that writes {{ getValue }}.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
How to fix NG8117
Call the function in the interpolation when the intended text is its return value:
#1 Best Overall
{{ getValue() }}
The parentheses invoke getValue, so Angular can use the returned value for the interpolation. The issue is the difference between a function reference and a function call:
{{ getValue }}refers to the function without invoking it.{{ getValue() }}invokes the function and interpolates its result.
When does Angular report NG8117?
Angular’s extended diagnostics require strictTemplates to be enabled. The NG8117 documentation lists no additional prerequisite for this diagnostic. The page does not specify the Angular versions that emit NG8117 or when it was introduced.
Rank #2
Can you suppress NG8117?
Yes. Angular documents a setting in tsconfig.json that suppresses this check:
Free tools Windows power users keep installed
One-click scans. No signup required.
{
"angularCompilerOptions": {
"extendedDiagnostics": {
"checks": {
"uninvokedFunctionInTextInterpolation": "suppress"
}
}
}
}
This setting prevents the diagnostic from being emitted; it does not call the function or make its return value appear in the template. If the interpolation is meant to display that result, fix the expression by invoking the function.
Quick Recap
Rank #4
Rank #3
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




