If `showHistoryMoreLink` is now a function, I think you'll need to update whereever it is used in the view to call the function, e.g. `ng-show=`showHistoryMoreLink()`. Alternatively, you could just change `isTruncated` to `isHistoryTruncated` and use that function in the view.