update value to ng-model for directive rating