I'm new to angularjs, I have two text boxes and a button. First textbox is to fill with age(15 to 66 - numbers only). Second textbox is to fill with term in "nine" / "twelve" / "fifteen" in string only. (else radio buttons is also ok in place of second textbox but i have no idea how to implement this with my problem.). after entering two fields click on button i have to get:
term data with entered age and with "nine" / "twelve" / "fifteen" json data only.
"Age: 44 and Term: 785.5"
ex: In first textbox I have entered "44" as age, and in second textbox I have entered "twelve" (or else I have selected "12" in radio button), and click on button i have to get the value as "Age: 44 and Term: 785.5"
I have no idea how to dynamically change "ng-bind='pa.term.twelve'" this value(twelve value):
<ul>
<li ng-repeat="pa in T816 | filter:getAge">
<p>
Term 12 Data: <b data-ng-bind="pa.term.twelve"></b>
</p>
</li>
</ul>
any help is appreciated.