charts "work" but are stuck in infinite loop, breaking view answer tests

calling function in ng-repeat causes angular to watch the model, thus
resulting in infinite loop