I'm trying to use the rating directive of bootstrap module for angular but when I click on a star to rate then angular trig this error
I understand that this error is produced because the value that I use in the model it's a constnatn. Let me explain
I have this directive in nrate.html
<rating ng-model="rate" max="5" readonly="false" value="2"></rating>
and this controller
appControllers.controller("singleRatingController", function ($scope, $http) {
$scope.rate = 0;
});
so I'm using a variable "rate" to load the rate value
In other html page I use the same directive with the same controller and works well
thanks