JSFiddle - React, Tailwind, and code Playground

HTML

<body ng-app="">

<div ng-controller="testCtrl">
    <h3>Why does scope function executes X times</h3>
    <div>getLabel executed {{counter}} times</div>
    <div>getLabel result {{getLabel('test')}}</div>
    <div ng-bind="myModel.tmp"></div>
    <div ng-bind="myModel.tmp2"></div>
</div>
</body>

JavaScript

function testCtrl($scope) {
    $scope.labels = {'test': "My fabulous label"};
    $scope.counter = 0;
    $scope.myModel = {tmp: 'Temp value',
                      tmp2: 'Temp value 2'};
    $scope.getLabel = function(labelKey){
         $scope.counter++;
        return $scope.labels[labelKey];
    }
}