i have a problem sending a radio button value to my controller here is my html :
<input class="i-radio" name="_rate" ng-model="rate" ng-value="'-100'" type="radio" />-5 star (-100)</label>
<button class="btn btn-primary col-sm-offset-4" type="submit" ng-click="evaluation(rate)">Evaluez</button>
my controller :
$scope.evaluation = function(rate){
console.log(rate);
}
my problem is the rate.value is always undefined