I have created a project in stackblitz to easily see what is happening. I am calling a method from one component using a button in another component. It executes the method but for some reason is not bidding the variables.
https://stackblitz.com/edit/angular-com1-com2?file=src%2Fapp%2Fcom2%2Fcom2.component.ts
Please, do not forget to open the console in stackblitz to see more information.
Thanks in advance.