I have the below checkbox code and i have to get value instead of true and false when it is selected.
<input type='checkbox' value="Athlete" ng-model="p.selected">
In the console p.selected displays true or false but i need value which is Athlete.How to change it?