How can I make a variable to be transformed into a value like in the example: ng-repeat="op in opportunityUnica | filter: ReferenceCode = 'VARIABLE'"?
How can I make a variable to be transformed into a value like in the example: ng-repeat="op in opportunityUnica | filter: ReferenceCode = 'VARIABLE'"?
You can filter using ng-if in the element itself, such as
<div ng-repeat="op in oportunidadeUnica" ng-if="op.ReferenceCode == filterCode">
{{op.name}}
</div>