I have an angular project and I want to link a function from projects.component.ts, so when I make a click on a button on projects.component.html it calls that function. But when I click on the button.
I have this error message on chrome's console:

This is my html:

This is my TS:
