I need to put an R $ in AngularJs. The code is this, someone could help me and is returning a value in the value.
$scope.addValue = function(el) {
var element = el.currentTarget.attributes["ng-model"].nodeValue;
var status = el.currentTarget.checked;
if (status == true) {
$scope.formData.saldoItensSelecionados = Number($scope.formData.saldoItensSelecionados) + Number(scope["resultSimulacao"]["tipsaa1VO"][element]);
} else {
$scope.formData.saldoItensSelecionados = Number($scope.formData.saldoItensSelecionados) - Number(scope["resultSimulacao"]["tipsaa1VO"][element]);
}
}