Answer the question
In order to leave comments, you need to log in
How to output text from a button in AngularJS when it is clicked?
I started learning Angular, I wanted to make a calculator on it. How to make it so that when you click on a button with a number in the input text, the value of this button is displayed and the number is typed until you press +, -, etc.? The number buttons themselves are created like this:
<md-button ng-repeat="x in [1,2,3,4,5,6,7,8,9,0]" class="md-fab" href="" ng-disabled="false" aria-label="description" md-no-ink="true" ng-click="" md-ripple-size="full">{{x}}</md-button>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question