I have an ng-repeat and inside that ng-repeat i have
<p style="color:red">Booked Ref : {{agencyref(contentzz.Ref)}}</p>
With the way angular works it's constantly running the function, but that function has a HTTP request inside it, i just want to run it once. Is there something else i can use?