hunk.code_window:           'timestamps': params.timestamps || 0,
             'tail': params.tail || 'all'
           }
         }).success(callback).error(function (data, status, headers, config) {
           console.log(error, data);
         });
       }
     };
   }]);
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:         console.log(data);
  
hunk.file_path: app/rest/docker/serviceLogs.js
hunk.type: replace
file: angular.module('portainer.rest')
  .factory('ContainerTop', ['$http', 'API_ENDPOINT_ENDPOINTS', 'EndpointProvider', function ($http, API_ENDPOINT_ENDPOINTS, EndpointProvider) {
    'use strict';
    return {
      get: function (id, params, callback, errorCallback) {
        $http({
          method: 'GET',
          url: API_ENDPOINT_ENDPOINTS + '/' + EndpointProvider.endpointID() + '/containers/' + id + '/top',
          params: {
            ps_args: params.ps_args
          }
        }).success(callback);
      }
    };
  }]);
  