Hello guys i am learning html and angularjs at the same time.I don't know how i can throw simple input into my functions.
Random
<input id="input1" type="text">
<button ng-click="someAction()">click me</button>
Basically i want to put the text value from the input into someAction method. Sorry if my code or question is confusing. It confuses me too.
How can i do it?