How do I set text to a button?
Answer: Use the jQuery prop() and html() Methods
You can simply use the jQuery prop() method to change the text of the buttons built using the HTML <input> element, whereas to change the text of the buttons which are created using the <button> element you can use the html() method.
How to change the button text in angular?
... export class AppComponent ... //button text variable btnVal = "Button"; //button click function changeText() this. btnVal = "Clicked!!"