function displayContent()

in public/javascripts/app/controllers/SnapshotContentCtrl.js [66:76]


    function displayContent(model) {
      $scope.isSettingContent = true;
      $scope.htmlContent = $sce.trustAsHtml(model.getHTMLContent());
      $scope.jsonContent = model.getJSON();
      $scope.headline = model.getHeadline();
      $scope.standfirst = model.getStandfirst();
      $scope.trailText = model.getTrailText();

      $scope.copyButtonLabel = "Copy JSON";
      $timeout(() => $scope.isSettingContent = false, 200);
    }