I have two radio buttons pass and fail.
pass
fail
How to get value of selected radio button.
Here is your javascript
and your html
{{1+1}} Result pass fail {{change}}
working demo
Hope this is what you are looking for.