Maybe another even simpler answer is:
Guys, please don't call private methods, fields or properties from the HTML :)
P.S. when compiling the *.ts code to *.js, AOT refuse to connect non-public members with the HTML template.
And "yes" this will make your build pipeline to fail :D