I\'m working in an angular 9 app. As a part of it\'s tools, I added a calculator to make simple operations. So I based my code in this example ---> https://stackblitz.com/edi